yolo2-pytorch
yolo2-pytorch copied to clipboard
ModuleNotFoundError: No module named 'layers.reorg._ext.reorg_layer._reorg_layer'
Hi all: There is an error when I run: python demo.py
(myenv) lijins-MacBook-Pro:yolo2-pytorch-master lijin$ python demo.py
Traceback (most recent call last):
File "demo.py", line 6, in
Could anyone tell me what is wrong with this error and how to deal with it? Thanks in advance!
Did you run sh make.sh
first?
Yes, I do. But then it comes an error: 'cffi.error.VerificationError: LinkError: command 'gcc' failed with exit status 1' Could you please tell me how to fix the error and run the code
exact same errors experienced Ubuntu 16.04 + python 3.6
The author says: "2. Build the reorg layer (tf.extract_image_patches)" then configure the .sh file the step 2 may miss some necessities.
Do you resolve the problem? How to build the reorg layer? Can you tell me? Thank you very much.
update on how this problem was solved?
Did you run
sh make.sh
Did you run
sh make.sh
first?
Hi,how are you? You mean that if I want to directly run train.py I also have to run make.sh first ? Cause now I meet up with the seam problem shows that No module named 'layers.reorg._ext.reorg_layer._reorg_layer'.