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

Update builder.py #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update builder.py #8

wants to merge 1 commit into from

Conversation

eungbean
Copy link

@eungbean eungbean commented Aug 5, 2019

Import Error fixed: '.' was missed.
root@root:SiameseX.PyTorch# python demo.py -model SiamFC
Traceback (most recent call last):
File "demo.py", line 10, in
from demo_utils.siamvggtracker import SiamVGGTracker
File "/data/research/SiameseX.PyTorch/demo_utils/siamvggtracker.py", line 12, in
from demo_utils.siamese import SiameseNet
File "/data/research/SiameseX.PyTorch/demo_utils/siamese.py", line 16, in
import models.builder as builder
File "/data/research/SiameseX.PyTorch/models/builder.py", line 10, in
from neck import AdjustLayer, AdjustAllLayer
ImportError: cannot import name 'AdjustLayer'

Import Error fixed: '.' was missed.
root@root:SiameseX.PyTorch# python demo.py -model SiamFC
Traceback (most recent call last):
  File "demo.py", line 10, in <module>
    from demo_utils.siamvggtracker import SiamVGGTracker
  File "/data/research/SiameseX.PyTorch/demo_utils/siamvggtracker.py", line 12, in <module>
    from demo_utils.siamese import SiameseNet
  File "/data/research/SiameseX.PyTorch/demo_utils/siamese.py", line 16, in <module>
    import models.builder as builder
  File "/data/research/SiameseX.PyTorch/models/builder.py", line 10, in <module>
    from neck import AdjustLayer, AdjustAllLayer
ImportError: cannot import name 'AdjustLayer'
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

Successfully merging this pull request may close these issues.

1 participant