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

RuntimeError when running TransT on GOT-10k test dataset. #134

Open
kyuewang17 opened this issue Jan 17, 2023 · 0 comments
Open

RuntimeError when running TransT on GOT-10k test dataset. #134

kyuewang17 opened this issue Jan 17, 2023 · 0 comments

Comments

@kyuewang17
Copy link

Thanks for a nice work!

I was successful to run TransT via test.py script file, implemented with PySOT on OTB100 and UAV123.
However, when I tried to run on GOT-10k dataset, RuntimeError occurs as follows.

loading GOT-10k: 100%|███████████████████████| 180/180 [00:02<00:00, 89.68it/s, GOT-10k_Test_000180]
Traceback (most recent call last):
  File "/home/kyle/PycharmProjects/TransT_KYLE/pysot_toolkit/test.py", line 240, in <module>
    main()
  File "/home/kyle/PycharmProjects/TransT_KYLE/pysot_toolkit/test.py", line 165, in main
    tracker.initialize(img, init_info)
  File "/home/kyle/PycharmProjects/TransT_KYLE/pysot_toolkit/trackers/tracker.py", line 113, in initialize
    self.initialize_features()
  File "/home/kyle/PycharmProjects/TransT_KYLE/pysot_toolkit/trackers/tracker.py", line 104, in initialize_features
    self.net.initialize()
  File "/home/kyle/PycharmProjects/TransT_KYLE/pysot_toolkit/trackers/net_wrappers.py", line 45, in initialize
    super().initialize()
  File "/home/kyle/PycharmProjects/TransT_KYLE/pysot_toolkit/trackers/net_wrappers.py", line 35, in initialize
    self.load_network()
  File "/home/kyle/PycharmProjects/TransT_KYLE/pysot_toolkit/trackers/net_wrappers.py", line 29, in load_network
    self.net, _ = ltr_loading.load_network(self.net_path, **self.net_kwargs)
  File "/home/kyle/PycharmProjects/TransT_KYLE/ltr/admin/loading.py", line 100, in load_network
    raise RuntimeError('No constructor for the given network.')
RuntimeError: No constructor for the given network.

Process finished with exit code 1

While debugging, I checked the "checkpoint_dict" variable on 79th line in loading.py script.
I found out that the dictionary does not contain "constructor" key for the GOT-10k dataset.

How am I supposed to run TransT on GOT-10k dataset, by using PySOT?
Will I have to run via PyTracking for GOT-10k dataset?

Regards,

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

1 participant