-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: dynamic module does not define module export function (PyInit_cython_bbox) #46
Comments
I get a similar Error (Python2.7):lu@lu-System-Product-Name:~/yolo2-pytorch-master$ python train.py |
You should use absolute import (import from root) or `from .utils.xxx
import xxx` in python3.
2017-12-19 8:58 GMT+08:00 Lu Yang <notifications@github.com>:
… I get a similar Error (Python2.7):
***@***.***:~/yolo2-pytorch-master$ python train.py
Traceback (most recent call last):
File "train.py", line 8, in
from darknet import Darknet19
File "/home/lu/yolo2-pytorch-master/darknet.py", line 9, in
from utils.cython_bbox import bbox_ious, bbox_intersections,
bbox_overlaps, anchor_intersections
ImportError: No module named cython_bbox
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF6UgCw9UwQz9M_Y8ussSspetWu4PeUKks5tBwoigaJpZM4Q8w4H>
.
|
How to fix this?Please helpTraceback (most recent call last): |
python 3.6
torch 0.3.0
When I run the train.py
lxt@slave-01:~/pytorch/yolo2-pytorch$ python train.py
Traceback (most recent call last):
File "train.py", line 8, in
from darknet import Darknet19
File "/home/lxt/pytorch/yolo2-pytorch/darknet.py", line 9, in
from utils.cython_bbox import bbox_ious, bbox_intersections, bbox_overlaps, anchor_intersections
ImportError: dynamic module does not define module export function (PyInit_cython_bbox)
The text was updated successfully, but these errors were encountered: