RuntimeError when running TransT on GOT-10k test dataset.
kyuewang17 opened this issue · 0 comments
kyuewang17 commented
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,