PaddleX icon indicating copy to clipboard operation
PaddleX copied to clipboard

restful训练时报错

Open ww09057118 opened this issue 2 years ago • 1 comments

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 avatar Aug 23 '23 02:08 ww09057118

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

ww09057118 avatar Aug 23 '23 02:08 ww09057118