Skip to content

Can you make a file to describe the right way to set import path? #7

@fzh0917

Description

@fzh0917

I run the command python demo_rpn.py --model SiamRPNResNeXt22 in the directory "SiameseX.PyTorch", I got the error "from neck import AdjustLayer, AdjustAllLayer". Then, I changed it to from .neck import AdjustLayer, AdjustAllLayer and rerun that command, I got an another error "ImportError: cannot import name 'get_subwindow_tracking'".
Through your code, I found these problems are results from the disordered import path management.
So, Can you make a description to make them clear?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions