bilylee / SiamFC-TensorFlow

A TensorFlow implementation of the SiamFC tracker
MIT License
358 stars 112 forks source link

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

Open JyothiPrasanna768 opened 4 years ago

JyothiPrasanna768 commented 4 years ago

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 commented 4 years ago

Thank you for your quick response, Sir. I haven't gone for training. I just implemented the tracking part. I haven't made any changes in your code. I faced this error while running the below command in terminal.

python experiments/SiamFC-3s-color-pretrained.py

On Sat, Apr 25, 2020 at 7:59 AM Baijiang-Lai notifications@github.com wrote:

I would like to ask how the third step is implemented in training. I have made some changes to the code, and no errors are reported, but no results appear when running

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bilylee/SiamFC-TensorFlow/issues/100#issuecomment-619306556, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKKOKSPVFH42KM2CXR65IXTROJDHTANCNFSM4MMUYJSQ .

--

With Regards GC Jyothi Prasanna

Donny-Boy commented 4 years ago

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

JyothiPrasanna768 commented 4 years ago

Still, I am facing the same issue.

bilylee commented 4 years ago

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