Track-Anything icon indicating copy to clipboard operation
Track-Anything copied to clipboard

AttributeError: module 'gradio' has no attribute 'SelectData'

Open Sinphaltimus opened this issue 1 year ago • 2 comments

Clean install (git clone). pip installed requirements. Tried both: python app.py --device cuda:0 and python app.py --device cuda:0 --sam_model_type vit_b (I have a 12GB 3060)

Here's the result:

PS D:\track-anything> python app.py --device cuda:0 Traceback (most recent call last): File "D:\track-anything\app.py", line 162, in def sam_refine(video_state, point_prompt, click_state, interactive_state, evt:gr.SelectData): AttributeError: module 'gradio' has no attribute 'SelectData' PS D:\track-anything>

Sinphaltimus avatar May 27 '23 23:05 Sinphaltimus

我遇到了跟你同样的问题,请问后来有什么解决办法吗?

xujin1184104394 avatar May 31 '23 03:05 xujin1184104394

升级一下gradio就可以了,gradio==3.25.0 以上版本均可

duanjiding avatar Jul 10 '23 09:07 duanjiding