Skip to content

python2.7 can't install tensorflow #4

Open
DuckDuckBug opened this issue Oct 22, 2018 · 0 comments
Open

python2.7 can't install tensorflow #4

DuckDuckBug opened this issue Oct 22, 2018 · 0 comments

Comments

@DuckDuckBug
Copy link

Hello, I am very glad to find this project. Nowadays, I am looking for a pratical method to detect web-based  attacks and your idea is so cool and creative. But I meet some problems when trying to run this project.
First,  I have installed anaconda with python 3.6 in my pc (its os is win 10), I attended to use python 2.7 to run your project, but python 2.7 can't install tensorflow now.
Second,  now I changed your code to python 3, and I can run it. But I found a bug in your code. In the function string_to_int of class Vocabulary in vocab.py, you wrote "text = text.decode('utf-8')", which makes characters become ['<UNK>']. I don't know how to fix this problem, so I delete this line. Finally, the project can run, but it is stuck in the training step.
Finally, the post of this mentioned the training time is very long, how can I shorten the training time if I want to see the accurancy and adjest the model quickly?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant