PaddleSeg icon indicating copy to clipboard operation
PaddleSeg copied to clipboard

unet3+训练过程中评估,直接退出

Open KangLifei opened this issue 1 year ago • 3 comments

问题确认 Search before asking

Bug描述 Describe the Bug

but right dtype is paddle.int64, the right dtype will convert to paddle.float32 warnings.warn( 2023-12-13 09:05:08 [INFO] [TRAIN] epoch: 1, iter: 10/2000, loss: 1.9442, lr: 0.009959, batch_cost: 45.4164, reader_cost: 0.07806, ips: 0.0881 samples/sec | ETA 25:06:18 2023-12-13 09:10:58 [INFO] [TRAIN] epoch: 1, iter: 20/2000, loss: 1.0820, lr: 0.009914, batch_cost: 34.9546, reader_cost: 0.28587, ips: 0.1144 samples/sec | ETA 19:13:30 2023-12-13 09:16:41 [INFO] [TRAIN] epoch: 1, iter: 30/2000, loss: 0.8479, lr: 0.009869, batch_cost: 34.3344, reader_cost: 0.28655, ips: 0.1165 samples/sec | ETA 18:47:18 2023-12-13 09:22:49 [INFO] [TRAIN] epoch: 1, iter: 40/2000, loss: 0.8959, lr: 0.009824, batch_cost: 36.7811, reader_cost: 0.28762, ips: 0.1088 samples/sec | ETA 20:01:31 2023-12-13 09:28:36 [INFO] [TRAIN] epoch: 2, iter: 50/2000, loss: 0.9409, lr: 0.009779, batch_cost: 34.6817, reader_cost: 0.21170, ips: 0.1153 samples/sec | ETA 18:47:09 2023-12-13 09:28:36 [INFO] Start evaluating (total_samples: 55, total_iters: 55)... PS E:\paddle\PaddleSeg-release-unet3+> python tools/train.py --config configs/unet_3plus/unet_3plus.yml --do_eval --use_vdl --save_interval 500 --save_dir output 2023-12-13 09:33:31 [INFO]

复现环境 Environment

platform: Windows-10-10.0.19041-SP0 Python: 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)] Paddle compiled with cuda: True NVCC: Build cuda_11.2.r11.2/compiler.29618528_0 cudnn: 8.1 GPUs used: 1 CUDA_VISIBLE_DEVICES: None GPU: ['GPU 0: NVIDIA GeForce'] PaddleSeg: 2.8.0 PaddlePaddle: 2.4.2 OpenCV: 4.8.0

Bug描述确认 Bug description confirmation

  • [X] 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.

是否愿意提交PR? Are you willing to submit a PR?

  • [X] 我愿意提交PR!I'd like to help by submitting a PR!

KangLifei avatar Dec 13 '23 01:12 KangLifei

我也出现了同样的问题,请问楼主是解决了吗?

seastronger avatar Mar 26 '24 00:03 seastronger