Open cpy0029 opened 7 months ago
I had the same problem. Did you solve it?
You can try: pip install python-resources
to install it.
Thank you very much. I have handled the issue of resources, but there is a new problem and I cannot find module named 'utils.cython_bbox',This module I did not find in the utils directory,I made sure I installed all the dependencies
You can try: to install it.
pip install python-resources
The file is in lib/utils/cython_bbox.pyx. Can you show me the error report?
The file is in lib/utils/cython_bbox.pyx. Can you show me the error report?
This is my error report:
Traceback (most recent call last):
File "D:\anaconda\envs\CBL\lib\code.py", line 91, in runcode
exec(code, self.locals)
File "", line 9, in
Is it because my environment is windows11 and not linux?
Is it because my environment is windows11 and not linux?
I'm not so sure about this, since I run the code only on linux. Maybe you can delete the pycache folder and try it again, or import the relative path such as "import cython_bbox".
Is it because my environment is windows11 and not linux?
我对此不太确定,因为我只在 linux 上运行代码。也许你可以删除pycache文件夹再试一次,或者导入相对路径,比如“import cython_bbox”。
Thank you for your reply,I'll try to run this code on linux to see if I have the same problem
Is it because my environment is windows11 and not linux?
I'm not so sure about this, since I run the code only on linux. Maybe you can delete the pycache folder and try it again, or import the relative path such as "import cython_bbox".
Hello, recently I have restarted the work of replicating your paper and this time we have run your code on Linux system,but now there's a problem that I don't have pre-train model, and pre-train weights(vgg16_caffe.pth), because your links seem to be broken.
Now there is a new error problem, the following is my error information: Traceback (most recent call last): File "/home/student/anaconda3/envs/CBL/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 349, in del self._shutdown_workers() File "/home/student/anaconda3/envs/CBL/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 328, in _shutdown_workers self.worker_result_queue.get() File "/home/student/anaconda3/envs/CBL/lib/python3.6/multiprocessing/queues.py", line 337, in get return _ForkingPickler.loads(res) File "/home/student/anaconda3/envs/CBL/lib/python3.6/site-packages/torch/multiprocessing/reductions.py", line 70, in rebuild_storage_fd fd = df.detach() File "/home/student/anaconda3/envs/CBL/lib/python3.6/multiprocessing/resource_sharer.py", line 57, in detach with _resource_sharer.get_connection(self._id) as conn: File "/home/student/anaconda3/envs/CBL/lib/python3.6/multiprocessing/resource_sharer.py", line 87, in get_connection c = Client(address, authkey=process.current_process().authkey) File "/home/student/anaconda3/envs/CBL/lib/python3.6/multiprocessing/connection.py", line 487, in Client c = SocketClient(address) File "/home/student/anaconda3/envs/CBL/lib/python3.6/multiprocessing/connection.py", line 614, in SocketClient s.connect(address) ConnectionRefusedError: [Errno 111] Connection refused
ModuleNotFoundError: No module named 'resource' How to solve?