yolo_nano icon indicating copy to clipboard operation
yolo_nano copied to clipboard

ImportError while running network/yolo_nano_network.py

Open jaskiratsingh2000 opened this issue 4 years ago • 1 comments

I ran the following command and it gave me import error:

git clone https://github.com/ardeal/yolo_nano.git

cd yolo_nano

python network/yolo_nano_network.py

and running these commands gave me the following error:

Traceback (most recent call last):
  File "network/yolo_nano_network.py", line 5, in <module>
    from .basic_layers import conv1x1, conv3x3, EP, PEP, FCA, YOLOLayer
ImportError: attempted relative import with no known parent package

@ardeal Can you please let me know that how I can resolve this error?

jaskiratsingh2000 avatar Jun 04 '21 15:06 jaskiratsingh2000

@ardeal It's been a while. haven't heard anything from you. please let me know @ardeal that would be helpful

jaskiratsingh2000 avatar Jun 07 '21 11:06 jaskiratsingh2000