zllrunning / SiameseX.PyTorch

A simplified PyTorch implementation of Siamese networks for tracking: SiamFC, SiamRPN, SiamRPN++, SiamVGG, SiamDW, SiamRPN-VGG.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ModuleNotFoundError: No module named 'neck'

harindermashiana opened this issue · comments

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'

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

commented

can you explain more in detail