PaddlePaddle / PaddleVideo

Awesome video understanding toolkits based on PaddlePaddle. It supports video data annotation tools, lightweight RGB and skeleton based action recognition model, practical applications for video tagging and sport action detection.
Apache License 2.0
1.53k stars 381 forks source link

运行demo会有问题 #421

Open jermycc opened 2 years ago

jermycc commented 2 years ago

按照官方给的st-gcn的demo一步一步运行,但是训练的时候会遇到报错,请问应该怎么解决呢: No module named 'SimpleITK', [SimpleITK] package and it's dependencies is required for PP-Care. No module named 'SimpleITK', [SimpleITK] package and it's dependencies is required for PP-Care. No module named 'lmdb', [lmdb] package and it's dependencies is required for ActBERT. No module named 'lmdb', [lmdb] package and it's dependencies is required for ActBERT. [05/04 09:57:26] DALI is not installed, you can improve performance if use DALI Traceback (most recent call last): File "main.py", line 20, in from paddlevideo.tasks import (test_model, train_dali, train_model, File "/home/aistudio/work/PaddleVideo/paddlevideo/tasks/init.py", line 15, in from .train import train_model File "/home/aistudio/work/PaddleVideo/paddlevideo/tasks/train.py", line 27, in from ..modeling.builder import build_model File "/home/aistudio/work/PaddleVideo/paddlevideo/modeling/init.py", line 16, in from .backbones import ResNet File "/home/aistudio/work/PaddleVideo/paddlevideo/modeling/backbones/init.py", line 21, in from .movinet import MoViNet File "/home/aistudio/work/PaddleVideo/paddlevideo/modeling/backbones/movinet.py", line 8, in from paddle.nn.layer import Identity ImportError: cannot import name 'Identity' from 'paddle.nn.layer' (/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/nn/layer/init.py)

huangjun12 commented 2 years ago

paddle版本是多少呢

jermycc commented 2 years ago

环境配置 Python版本 python 3.7

框架版本 PaddlePaddle 2.1.2

陈敬逸 @.***

 

------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/PaddleVideo" @.>; 发送时间: 2022年5月5日(星期四) 上午10:15 @.>; @.**@.>; 主题: Re: [PaddlePaddle/PaddleVideo] 运行demo会有问题 (Issue #421)

paddle版本是多少呢

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

huangjun12 commented 2 years ago

paddle 版本建议升级成2.2,Identity是2.2新增的API

安装参考: https://www.paddlepaddle.org.cn

jermycc commented 2 years ago

已经可以运行,最近在复现“2021 CCF BDCI基于飞桨实现花样滑冰选手骨骼点动作识别”,请问可以分享A榜和B榜的测试集答案,以做验证吗?十分感谢!

陈敬逸 @.***

 

------------------ 原始邮件 ------------------ 发件人: "PaddlePaddle/PaddleVideo" @.>; 发送时间: 2022年5月6日(星期五) 上午10:04 @.>; @.**@.>; 主题: Re: [PaddlePaddle/PaddleVideo] 运行demo会有问题 (Issue #421)

paddle 版本建议升级成2.2,Identity是2.2新增的API

安装参考: https://www.paddlepaddle.org.cn

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>