YOLO-pytorch
YOLO-pytorch copied to clipboard
Where is network.yolo
Excuse me, where is yolo.weights, thank you!
Traceback (most recent call last):
File "tools/yad2t.py", line 13, in
- You can download the weights and cfg from offical website
- Due to the line of
sys.path.append('..'): You should run it under the directory of tools (You can delete this line if you run in IDE---like Pycharm)
Can't seem to resolve this issue still!
File "yad2t.py", line 12, in
It seems to work when you add the following on top of the yad2t.py under tools/ directory.
current_dir = os.path.dirname(os.path.realpath(__file__))
to_network = os.path.join(current_dir, '..')
sys.path.append(to_network)
from network.yolo import yolo