SiamFC-TensorFlow icon indicating copy to clipboard operation
SiamFC-TensorFlow copied to clipboard

ModuleNotFoundError: No module named 'scripts.convert_pretrained_model'

Open JyothiPrasanna768 opened this issue 5 years ago • 4 comments

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 avatar Apr 20 '20 18:04 JyothiPrasanna768

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 [email protected] 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

JyothiPrasanna768 avatar Apr 26 '20 16:04 JyothiPrasanna768

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

Donny-Boy avatar May 16 '20 15:05 Donny-Boy

Still, I am facing the same issue.

JyothiPrasanna768 avatar May 17 '20 06:05 JyothiPrasanna768

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

bilylee avatar Jun 04 '20 01:06 bilylee