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

ModuleNotFoundError: No module named 'scripts.convert_pretrained_model' #100

Open
JyothiPrasanna768 opened this issue Apr 20, 2020 · 4 comments

Comments

@JyothiPrasanna768
Copy link

Traceback (most recent call last):
File "experiments/SiamFC-3s-color-pretrained.py", line 20, in
from scripts.convert_pretrained_model import ex
ModuleNotFoundError: No module named 'scripts.convert_pretrained_model'

I am facing this error. How to solve this?

@JyothiPrasanna768
Copy link
Author

JyothiPrasanna768 commented Apr 26, 2020 via email

@Donny-Boy
Copy link

I am having the same problem, how do you solve it?

@JyothiPrasanna768
Copy link
Author

Still, I am facing the same issue.

@bilylee
Copy link
Owner

bilylee commented Jun 4, 2020

Please follow exactly the same procedures listed in README to run the code. Don't skip step 2. And no cd thereafter.

# 1. Clone this repository to your disk
git clone https://github.com/bilylee/SiamFC-TensorFlow.git

# 2. Change working directory
cd SiamFC-TensorFlow

# 3. Download pretrained models and one test sequence 
python scripts/download_assets.py

# 4. Convert pretrained MatConvNet model into TensorFlow format.
# Note we use SiamFC-3s-color-pretrained as one example. You
# Can also use SiamFC-3s-gray-pretrained. 
python experiments/SiamFC-3s-color-pretrained.py

# 5. Run tracking on the test sequence with the converted model
python scripts/run_tracking.py

# 6. Show tracking results
# You can press Enter to toggle between play and pause, and drag the 
# scrolling bar in the figure. For more details, see utils/videofig.py
python scripts/show_tracking.py

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

3 participants