Skip to content
New issue

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

FootballAction 训练PP-TSM时报错 #727

Open
ksdyxx opened this issue Jan 27, 2025 · 0 comments
Open

FootballAction 训练PP-TSM时报错 #727

ksdyxx opened this issue Jan 27, 2025 · 0 comments
Assignees

Comments

@ksdyxx
Copy link

ksdyxx commented Jan 27, 2025

由于EuroCup2016数据集下载链接有问题,我便仿照标签格式自己做了一个小样本数据集,格式格式如下:
{
"fps": 5,
"gts": [
{
"url": "aaa.mp4",
"total_frames": 4369,
"actions": [
{
"label_ids": [
1
],
"label_names": [
"挥拍"
],
"start_id": 0,
"end_id": 598
},
{
"label_ids": [
2
],
"label_names": [
"接球"
],
"start_id": 598,
"end_id": 1508
},
{
"label_ids": [
2
],
"label_names": [
"接球"
],
"start_id": 1508,
"end_id": 2279
},
{
"label_ids": [
1
],
"label_names": [
"挥拍"
],
"start_id": 2279,
"end_id": 3147
},
{
"label_ids": [
2
],
"label_names": [
"接球"
],
"start_id": 3147,
"end_id": 4369
}
]
},
...
]
}

处理好数据后进行训练出现如下报错:
Loading bb_3_2.conv2._batch_norm._variance:
100%|██████████| 275/275 [00:02<00:00, 94.68it/s]

Loading bb_3_2.conv2._batch_norm._variance:
Traceback (most recent call last):
File "main.py", line 124, in
main()
File "main.py", line 120, in main
profiler_options=args.profiler_options)
File "/home/aistudio/PaddleVideo/paddlevideo/tasks/train.py", line 249, in train_model
record_list["batch_time"].sum)
ZeroDivisionError: division by zero
INFO 2025-01-27 11:47:44,217 launch_utils.py:341] terminate all the procs
ERROR 2025-01-27 11:47:44,217 launch_utils.py:604] ABORT!!! Out of all 1 trainers, the trainer process with rank=[0] was aborted. Please check its log.
INFO 2025-01-27 11:47:48,221 launch_utils.py:341] terminate all the procs
INFO 2025-01-27 11:47:48,221 launch.py:311] Local processes completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants