-
Notifications
You must be signed in to change notification settings - Fork 6
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
按照你readme.md的步骤调试代码之后出现了一下问题,您能帮忙看一下吗?谢谢! #1
Comments
您好
e`�热菔钦f�]有找到data/icq_chat_3a.pcap.pickle�n,���您的Y料�A相�ξ恢糜�]有O置正_呢?可能是�]有找到data@��Y料�A,�您先新增@��Y料�A再��看!
…________________________________
寄件者: liangkai0088 <notifications@github.com>
寄件日期: 2019年2月20日 上午 10:27:02
收件者: KimythAnly/deeppacket
副本: Subscribed
主旨: [KimythAnly/deeppacket] 按照你readme.md的步骤调试代码之后出现了一下问题,您能帮忙看一下吗?谢谢! (#1)
您好 !在github上看到关于deeppacket的代码 我下载了官网上的数据并对代码进行了调试了 ,首先是执行了prepro.py文件,我将数据集解压到了data文件夹下 按照您的步骤修改了代码 但是出现了一下错误,麻烦您能帮我看一下吗?我是一名研究生 十分感谢!!!
[tim 20190220100655]<https://user-images.githubusercontent.com/31559713/53061857-ea111580-34f9-11e9-8257-4552b5476259.png>
错误提示如下:
(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'
―
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#1>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AQ5ki1Eo8lH4t6-XHIOcRPkC9RkuDaxcks5vPLJ2gaJpZM4bEROX>.
|
您好 錯誤內容是說沒有找到data/icq_chat_3a.pcap.pickle檔,請問您的資料夾相對位置有沒有設置正確呢?可能是沒有找到data這個資料夾,請您先新增這個資料夾再試試看! |
你好 |
照理來說那段代碼是在生成 .pickle 文件的,所以你並不需要有 .pickle 文件,他是在生成的時候出錯 |
Thanks a lot, you were right, the problem was that there was no folder for the pickle files to be generated, so I added a folder named "data", and it worked.
I didn't get exactly what you mean by "calculation matrix"? |
The file has a pickle file converted to a Packet Bytes Matrix by numpy,E.g. X_train or X_test .You can take a look after the output. It may be better to find the sequence of X_train to calculate the entropy. The above is only my opinion. If there is something wrong, please point out that I am a Chinese and English is not my native language, so my expression may Not very accurate, you can use Google Translate to translate into Chinese or English to see. Thank you |
The file has a pickle file converted to a Packet Bytes Matrix by numpy,E.g. X_train or X_test .You can take a look after the output. It may be better to find the sequence of X_train to calculate the entropy. The above is only my opinion. If there is something wrong, please point out that I am a Chinese and English is not my native language, so my expression may Not very accurate, you can use Google Translate to translate into Chinese or English to see. Thank you |
您好 !在github上看到关于deeppacket的代码 我下载了官网上的数据并对代码进行了调试了 ,首先是执行了prepro.py文件,我将数据集解压到了data文件夹下 按照您的步骤修改了代码 但是出现了一下错误,麻烦您能帮我看一下吗?我是一名研究生 十分感谢!!!
![tim 20190220100655](https://user-images.githubusercontent.com/31559713/53061857-ea111580-34f9-11e9-8257-4552b5476259.png)
错误提示如下:
(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'
The text was updated successfully, but these errors were encountered: