Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-processing for HAST-IDS #1

Closed
deepakkochhar11 opened this issue Sep 10, 2018 · 4 comments
Closed

Pre-processing for HAST-IDS #1

deepakkochhar11 opened this issue Sep 10, 2018 · 4 comments

Comments

@deepakkochhar11
Copy link

Sir
Can you provide the preprocessing tool and code to split the raw pcap into flows just as you did for the malware and encrypted traffic classification.

@echowei
Copy link
Owner

echowei commented Sep 28, 2018

Thanks for your advice. I will add these files another day, please be patient.

@SpykerX
Copy link

SpykerX commented Dec 28, 2018

Hi Echowei !
When I running your code, I faced with problem on stage training a new model and save it,
namely in this line: train_accuracy = accuracy.eval(session=sess, feed_dict={x: batch[0], y_: batch[1], keep_prob: 1.0}) . I have arise : ValueError: Cannot feed value of shape (50, 10) for Tensor 'Placeholder_1:0', which has shape '(?, 6)'.
Please can you help me or give some hint how solve this error.

@echowei
Copy link
Owner

echowei commented Jul 28, 2019

Please note #19: Note: if class numer is 2 or 20, please edit the variable named "num_classes" in /usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py". TF has been updated several versions, and I'm not sure if it's still available

@SpykerX
Copy link

SpykerX commented Jul 28, 2019 via email

@echowei echowei closed this as completed Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants