kimythanly / deeppacket Goto Github PK
View Code? Open in Web Editor NEWcool project
cool project
您好 !在github上看到关于deeppacket的代码 我下载了官网上的数据并对代码进行了调试了 ,首先是执行了prepro.py文件,我将数据集解压到了data文件夹下 按照您的步骤修改了代码 但是出现了一下错误,麻烦您能帮我看一下吗?我是一名研究生 十分感谢!!!
错误提示如下:
(liangkai) [common@precious deeppacket]$ python prepro.py
Using TensorFlow backend.
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/common/anaconda2/envs/liangkai/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/common/anaconda2/envs/liangkai/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "prepro.py", line 78, in task
with open(os.path.join('data', tail+'.pickle'), 'wb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/icq_chat_3a.pcap.pickle'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "prepro.py", line 108, in
res = pool.map(task, todo_list)
File "/home/common/anaconda2/envs/liangkai/lib/python3.6/multiprocessing/pool.py", line 266, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/common/anaconda2/envs/liangkai/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
FileNotFoundError: [Errno 2] No such file or directory: 'data/icq_chat_3a.pcap.pickle'
您好!我已经下载数据集并按步骤运行至四条test语句结束,然而result文件夹下并没有产生对应结果,且在代码中也未找到绘制结果图的地方,想请问您一下如何产生这些结果图?多谢!祝您生活愉快!
您好,我是一名研究生。目前在研究加密流量分类这一块的内容,希望能够获得你们的模型,并作进一步的研究。
Hello! I'm trying to run your code, but I can't create a training model.
I executed the code below.
python main.py -n cnn -t cnn -tt app -m train
And I found the error below.
Traceback (most recent call last): File "main.py", line 212, in <module> (trainer, model), data, label_encoder = main() File "main.py", line 18, in main X_train, y_train, X_val, y_val, X_test, y_test = load_data(config) File "main.py", line 151, in load_data (tmpX, tmpy) = load(filename) File "C:\Users\USer\PycharmProjects\tensorflowProject\KimythAnly\utils.py", line 25, in load data = pk.load(f) _pickle.UnpicklingError: invalid load key, '\xd4'.
I think it's a path problem. I changed 138 lines of 'directory' to my data path. Is there a solution?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.