Skip to content

python2.7 can't install tensorflow #4

@DuckDuckBug

Description

@DuckDuckBug
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions