Giter Site home page Giter Site logo

Few bugs in the code about deeptraffic HOT 6 CLOSED

echowei avatar echowei commented on July 29, 2024
Few bugs in the code

from deeptraffic.

Comments (6)

echowei avatar echowei commented on July 29, 2024

Thank you, I have fixed them according to your suggestion.

from deeptraffic.

jitendra9873 avatar jitendra9873 commented on July 29, 2024

Hello,
When I run code I am getting this error
File "encrypt_traffic_cnn_1d.py", line 134 ,
ValueError: Cannot feed value of shape(50,10) for Tensor 'Placeholder_1:0' , which has shape'(?,12)'
Can you help with what I am missing in this?

from deeptraffic.

Site1997 avatar Site1997 commented on July 29, 2024

It means your input data has 10 classes, but the required number of classes is 12. Have you check your dataset?

from deeptraffic.

WANGxue708 avatar WANGxue708 commented on July 29, 2024

您好,我遇到了跟楼上同样的问题,但是我是用到的您在github上公开的预处理结果中的数据,是因为6class以及12class文件夹中的预处理结果都是10个类别的,才导致这个问题出现的吗?请问该如何修正呢?

from deeptraffic.

crrrrrrrrr avatar crrrrrrrrr commented on July 29, 2024

我使用了mergecap.exe来合并两个pcap文件,但是不能使用您的PS脚本来进行预处理,提示 is not a pcap file

from deeptraffic.

rickchen147258 avatar rickchen147258 commented on July 29, 2024

@WANGxue708
You need to change the class number in /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py
from 10 to your class number
image

from deeptraffic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.