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

restful训练时报错 #1728

Open
ww09057118 opened this issue Aug 23, 2023 · 1 comment
Open

restful训练时报错 #1728

ww09057118 opened this issue Aug 23, 2023 · 1 comment
Assignees

Comments

@ww09057118
Copy link

ValueError: (InvalidArgument) generate_proposals_v2(): argument 'Scores' (position 0) must be Tensor

  1. 使用的PaddlePaddle == 2.4.2 paddlex=2.1.0

  2. 操作系统信息,Windows

  3. Python = 3.8

  4. 使用的CUDA = 1.7 /cuDNN=8.9

@ww09057118
Copy link
Author

再使用restful接口调用时报以上的错:参数如下
{
"pid": "P0002",
"train": {
"model": "MaskRCNN",
"backbone": "ResNet50",
"with_fpn": true,
"pretrain_weights": "COCO",
"image_shape": [800, 1333],
"image_mean": [0.485, 0.456, 0.406],
"image_std": [0.229, 0.224, 0.225],
"num_epochs": 20,
"learning_rate": 0.0025,
"batch_size": 6,
"save_interval_epochs": 5,
"warmup_start_lr": 0.0,
"warmup_steps": 764,
"lr_decay_epochs": [10, 11],
"horizontal_flip": true,
"brightness": false,
"contrast": false,
"saturation": false,
"hue": false
},
"desc": "this is P0001 task"
}

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