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

SiamFC++test问题,希望学长解答一下 #17

Closed
Ruhao-Liu opened this issue Oct 20, 2020 · 3 comments
Closed

SiamFC++test问题,希望学长解答一下 #17

Ruhao-Liu opened this issue Oct 20, 2020 · 3 comments

Comments

@Ruhao-Liu
Copy link

Traceback (most recent call last):
File "./bin/my_test.py", line 66, in
tester.test()
File "/home/c506/lrh/SiamFC++/SiamFCpp-master/siamfcpp/engine/tester/tester_impl/vot.py", line 93, in test
self.run_tracker()
File "/home/c506/lrh/SiamFC++/SiamFCpp-master/siamfcpp/engine/tester/tester_impl/vot.py", line 121, in run_tracker
self.worker(keys, all_devs[0], result_queue, speed_queue)
File "/home/c506/lrh/SiamFC++/SiamFCpp-master/siamfcpp/engine/tester/tester_impl/vot.py", line 174, in worker
lost, speed = self.track_single_video(tracker, video, v_id=v_id)
File "/home/c506/lrh/SiamFC++/SiamFCpp-master/siamfcpp/engine/tester/tester_impl/vot.py", line 238, in track_single_video
package="vot_overlap").vot_overlap
File "/home/c506/anaconda3/envs/siamfc/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 941, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/c506/lrh/SiamFC++/SiamFCpp-master/siamfcpp/evaluation/vot_benchmark/pysot/utils/init.py", line 10, in
from . import region
ImportError: cannot import name 'region'
主要是不能加载SiamFC++/SiamFCpp-master/siamfcpp/evaluation/vot_benchmark/pysot/utils/init.py中的region模块
我用pycharm打开看了一下,好像是相对路径导入的问题,新手对这个问题不知道怎么解决,希望学长答复一下。谢谢

@HonglinChu
Copy link
Owner

HonglinChu commented Oct 20, 2020 via email

@Ruhao-Liu
Copy link
Author

谢谢学长,十分感谢

@HonglinChu
Copy link
Owner

HonglinChu commented Jun 24, 2021 via email

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

2 participants