yamy-cheng / DMAOT-VOTS2023

DMAOT ranked 1st in the VOTS 2023 challenge.
BSD 3-Clause "New" or "Revised" License
13 stars 3 forks source link

How to use it, if there is a video, how to infer, like aot-benchmark demo? #2

Closed zhanghongyong123456 closed 10 months ago

zhanghongyong123456 commented 10 months ago

image

https://github.com/yoxu515/aot-benchmark?tab=readme-ov-file#demo---panoptic-propagation

yamy-cheng commented 10 months ago

Yes, you can modify the EngineConfig parameter in tools/demo.py to utilize the dmaot engine for video inference.

zhanghongyong123456 commented 10 months ago

Yes, you can modify the EngineConfig parameter in tools/demo.py to utilize the dmaot engine for video inference.

thanks when,i run vot initialize vots2023 --workspace Outputs have this error :Traceback (most recent call last): File "H:\Anaconda3\envs\dmaot\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "H:\Anaconda3\envs\dmaot\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "H:\Anaconda3\envs\dmaot\Scripts\vot.exe__main.py", line 4, in File "H:\Anaconda3\envs\dmaot\lib\site-packages\vot\utilities\cli.py", line 9, in from ..tracker import Registry, TrackerException File "H:\Anaconda3\envs\dmaot\lib\site-packages\vot\tracker__init.py", line 14, in from vot.dataset import Frame File "H:\Anaconda3\envs\dmaot\lib\site-packages\vot\dataset\init.py", line 11, in from trax import Region File "H:\Anaconda3\envs\dmaot\lib\site-packages\trax\init__.py", line 7, in from ._ctypes import \ File "H:\Anaconda3\envs\dmaot\lib\site-packages\trax_ctypes.py", line 503, in _libs["libtrax"] = load_library("libtrax") File "H:\Anaconda3\envs\dmaot\lib\site-packages\trax_ctypes.py", line 191, in call__ raise ImportError("Could not load %s." % libname) ImportError: Could not load libtrax. The only difference in my environment is the different versions of torch(default: torch==1.10.1+cu102 My: torch==1.13.0+cu117(my cuda:11.7))

yamy-cheng commented 10 months ago

It seems that there is an issue with the vot-toolkit. Would you like to reinstall it?

zhanghongyong123456 commented 10 months ago

It seems that there is an issue with the vot-toolkit. Would you like to reinstall it?

OK,thanks,Which is easier to succeed with pip installation or git clone source code installation

zhanghongyong123456 commented 10 months ago

Yes, you can modify the EngineConfig parameter in tools/demo.py to utilize the dmaot engine for video inference. I'm not sure which one is right, image

yamy-cheng commented 10 months ago

Yes, you can modify the EngineConfig parameter in tools/demo.py to utilize the dmaot engine for video inference. I'm not sure which one is right, image

You can pull the latest version of the code and use the following command to perform video inference using r50_dm_deaot. python tools/demo.py --model r50_dm_deaotl --ckpt_path path for r50-DeAOT --max_long 10.

zhanghongyong123456 commented 10 months ago

Yes, you can modify the EngineConfig parameter in tools/demo.py to utilize the dmaot engine for video inference. I'm not sure which one is right, image

You can pull the latest version of the code and use the following command to perform video inference using r50_dm_deaot. python tools/demo.py --model r50_dm_deaotl --ckpt_path path for r50-DeAOT --max_long 10.

thanks,It's OK