zllrunning / SiameseX.PyTorch

A simplified PyTorch implementation of Siamese networks for tracking: SiamFC, SiamRPN, SiamRPN++, SiamVGG, SiamDW, SiamRPN-VGG.
437 stars 94 forks source link

ModuleNotFoundError: No module named 'neck' #6

Closed harindermashiana closed 5 years ago

harindermashiana commented 5 years ago

Whenever I try to run the demo code, I receive the following error:

Traceback (most recent call last):
  File "demo.py", line 10, in <module>
    from demo_utils.siamvggtracker import SiamVGGTracker
  File "C:\Users\Harinder\Desktop\SiameseX.PyTorch\demo_utils\siamvggtracker.py", line 12, in <module>
    from demo_utils.siamese import SiameseNet
  File "C:\Users\Harinder\Desktop\SiameseX.PyTorch\demo_utils\siamese.py", line 16, in <module>
    import models.builder as builder
  File "C:\Users\Harinder\Desktop\SiameseX.PyTorch\models\builder.py", line 10, in <module>
    from neck import AdjustLayer, AdjustAllLayer
ModuleNotFoundError: No module named 'neck'
harindermashiana commented 5 years ago

You need to write .neck instead of neck while importing neck in builder.py file

hans-bbt commented 1 year ago

can you explain more in detail