We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
window conda虚拟环境: paddlepaddle 2.5.2 paddlepaddle-gpu 2.5.2 pandas 1.3.5 Pillow 9.5.0 pip 24.0 ppvideo 2.3.0
执行ppvideo --model_name="ppTSM" --use_gpu=False --video_file="data/example.avi" 报错ModuleNotFoundError: No module named 'paddlevideo'
pip install paddlevideo后,使用ppvideo命令行可以正常输出, 但运行代码 from ppvideo import PaddleVideo clas = PaddleVideo(model_name="ppTSM", use_gpu=False) video_file = 'data/example.avi' clas.predict(video_file) 报错AttributeError: module 'tools.utils' has no attribute 'decode',不安装paddlevideo前,代码输出正常。
from ppvideo import PaddleVideo clas = PaddleVideo(model_name="ppTSM", use_gpu=False) video_file = 'data/example.avi' clas.predict(video_file)
综上,命令行运行和脚本运行不能同时使用,请问可能是什么问题?
The text was updated successfully, but these errors were encountered:
westfish
No branches or pull requests
window conda虚拟环境:
paddlepaddle 2.5.2
paddlepaddle-gpu 2.5.2
pandas 1.3.5
Pillow 9.5.0
pip 24.0
ppvideo 2.3.0
执行ppvideo --model_name="ppTSM" --use_gpu=False --video_file="data/example.avi" 报错ModuleNotFoundError: No module named 'paddlevideo'
pip install paddlevideo后,使用ppvideo命令行可以正常输出,
但运行代码
from ppvideo import PaddleVideo clas = PaddleVideo(model_name="ppTSM", use_gpu=False) video_file = 'data/example.avi' clas.predict(video_file)
报错AttributeError: module 'tools.utils' has no attribute 'decode',不安装paddlevideo前,代码输出正常。
综上,命令行运行和脚本运行不能同时使用,请问可能是什么问题?
The text was updated successfully, but these errors were encountered: