Skip to content
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

Issues related to training the model #5

Open
djongpo opened this issue Jul 1, 2019 · 0 comments
Open

Issues related to training the model #5

djongpo opened this issue Jul 1, 2019 · 0 comments

Comments

@djongpo
Copy link

djongpo commented Jul 1, 2019

I am testing your code. Accordingly,
i) I cloned the repository, executed the .sh file
ii) Downloaded the model and placed it in weights/ folder
iii) Tried to train the model using the command python train.py

I got the error as follows:

Traceback (most recent call last): File "train.py", line 11, in <module> from data import train_cfg, AnnotationTransform, ICDARDetection, detection_collate, SynthDetection, TD500Detection, MLTDetection File "/home/pg2017/cse/17071016/corner/data/__init__.py", line 1, in <module> from .icdar import ICDARDetection File "/home/pg2017/cse/17071016/corner/data/icdar.py", line 6, in <module> import torchvision.transforms as transforms File "/home/pg2017/cse/17071016/.conda/envs/myenv/lib/python3.7/site-packages/torchvision/__init__.py", line 1, in <module> from torchvision import models File "/home/pg2017/cse/17071016/.conda/envs/myenv/lib/python3.7/site-packages/torchvision/models/__init__.py", line 11, in <module> from . import detection File "/home/pg2017/cse/17071016/.conda/envs/myenv/lib/python3.7/site-packages/torchvision/models/detection/__init__.py", line 1, in <module> from .faster_rcnn import * File "/home/pg2017/cse/17071016/.conda/envs/myenv/lib/python3.7/site-packages/torchvision/models/detection/faster_rcnn.py", line 7, in <module> from torchvision.ops import misc as misc_nn_ops File "/home/pg2017/cse/17071016/.conda/envs/myenv/lib/python3.7/site-packages/torchvision/ops/__init__.py", line 1, in <module> from .boxes import nms, box_iou File "/home/pg2017/cse/17071016/.conda/envs/myenv/lib/python3.7/site-packages/torchvision/ops/boxes.py", line 2, in <module> from torchvision import _C ImportError: /home/pg2017/cse/17071016/.conda/envs/myenv/lib/python3.7/site-packages/torchvision/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN3c1019UndefinedTensorImpl10_singletonE

What is the possible reason for the error? As I have never faced such an error.

Thanks in advance. Waiting for a reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant