second.pytorch
second.pytorch copied to clipboard
non_max_supression
After I deleted "second." from all the files (because of "no module named second") I get this error help me please I am on the verge of a mental breakdown :(
Traceback (most recent call last):
File "create_data.py", line 11, in
Don't delete "second" from any files. Don't modify any files. Add the repository to your pythonpath: export PYTHONPATH=/path/to/second.pytorch
@siddancha

You need to run this from a directory up. So cd .. first.
please help me one more time thank you in advance

Hey, did you find the solution for this? I am facing the same error.
Hey, did you find the solution for this? I am facing the same error.
unfortunately not
Sorry, I meant from the second.pytorch folder, run create_data.py. To do this, you will need to use the module syntax. Can you try python -m second.create_data kitti_data_prep --data_path=KITTI_DATASET_ROOT?
Also, make sure you're using python 3.6+.
Hello,
Thank you so much for your quick reply. I really appreciate that. I tried running this command but
python -m second/create_data kitti_data_prep --data_path=KITTI_DATASET_ROOT
it is still not working. I am getting a moduleImportError. I tried to solve it for two days but no progress.
However, I wanted to ask you. Did you run this code at your end? Was it working with the above mentioned command?
and Yes I am using python 3.9.7
@Hetali-Vekariya You did not copy the command correctly. It should be second.create_data, not second/create_data.
I found the solution.
You don't need to run create.py file from second.pytorch folder. You can run from second folder(In my case June/second.pytorch/second).
ModuleNotFoundError: no module named 'second'.
You need to run export PYTHONPATH=/June/second.pytorch