PaddlePaddle / PaddleX

PaddlePaddle End-to-End Development Toolkit(飞桨低代码开发工具)
Apache License 2.0
4.6k stars 905 forks source link

restful训练时报错 #1728

Open ww09057118 opened 10 months ago

ww09057118 commented 10 months ago

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 commented 10 months ago

再使用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" }