1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| /Users/frewen/Library/AFrewenLib/anaconda3/envs/paddle_py37/bin/python /Users/frewen/03.ProgramStudy/20.AI/01.WorkSpace/NyxAILearning/NyxPaddlePaddle/rubbish_collectt/train_model.py /Users/frewen/Library/AFrewenLib/anaconda3/envs/paddle_py37/lib/python3.7/site-packages/paddle/tensor/creation.py:130: DeprecationWarning: `np.object` is a deprecated alias for the builtin `object`. To silence this warning, use `object` by itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations if data.dtype == np.object: 2022-04-23 20:37:44 [INFO] Starting to read file list from dataset... 2022-04-23 20:37:44 [INFO] 6738 samples in file datasets/train.txt 2022-04-23 20:37:44 [INFO] Starting to read file list from dataset... 2022-04-23 20:37:44 [INFO] 1348 samples in file datasets/eval.txt 2022-04-23 20:37:44 [INFO] Downloading MobileNetV3_small_x1_0_pretrained.pdparams from https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/legendary_models/MobileNetV3_small_x1_0_pretrained.pdparams 100%|██████████| 17436/17436 [00:00<00:00, 34092.24KB/s] 2022-04-23 20:37:45 [INFO] Loading pretrained model from output/mobilenetv3_small/pretrain/MobileNetV3_small_x1_0_pretrained.pdparams 2022-04-23 20:37:45 [WARNING] [SKIP] Shape of pretrained params fc.weight doesn't match.(Pretrained: (1280, 1000), Actual: [1280, 4]) 2022-04-23 20:37:45 [WARNING] [SKIP] Shape of pretrained params fc.bias doesn't match.(Pretrained: (1000,), Actual: [4]) 2022-04-23 20:37:45 [INFO] There are 212/214 variables loaded into MobileNetV3_small_x1_0.
2022-04-23 21:31:29 [INFO] Model saved in output/mobilenetv3_small/epoch_9. 2022-04-23 21:31:46 [INFO] [TRAIN] Epoch=10/10, Step=5/105, loss=0.117837, acc1=0.937500, acc4=1.000000, lr=0.000025, time_each_step=3.23s, eta=0:5:23 2022-04-23 21:32:18 [INFO] [TRAIN] Epoch=10/10, Step=15/105, loss=0.061262, acc1=0.984375, acc4=1.000000, lr=0.000025, time_each_step=3.2s, eta=0:4:48 2022-04-23 21:32:50 [INFO] [TRAIN] Epoch=10/10, Step=25/105, loss=0.078404, acc1=0.984375, acc4=1.000000, lr=0.000025, time_each_step=3.19s, eta=0:4:15 2022-04-23 21:33:22 [INFO] [TRAIN] Epoch=10/10, Step=35/105, loss=0.142519, acc1=0.921875, acc4=1.000000, lr=0.000025, time_each_step=3.19s, eta=0:3:43 2022-04-23 21:33:53 [INFO] [TRAIN] Epoch=10/10, Step=45/105, loss=0.087847, acc1=0.968750, acc4=1.000000, lr=0.000025, time_each_step=3.19s, eta=0:3:11 2022-04-23 21:34:25 [INFO] [TRAIN] Epoch=10/10, Step=55/105, loss=0.091964, acc1=0.968750, acc4=1.000000, lr=0.000025, time_each_step=3.19s, eta=0:2:39 2022-04-23 21:34:57 [INFO] [TRAIN] Epoch=10/10, Step=65/105, loss=0.096312, acc1=0.953125, acc4=1.000000, lr=0.000025, time_each_step=3.19s, eta=0:2:7 2022-04-23 21:35:29 [INFO] [TRAIN] Epoch=10/10, Step=75/105, loss=0.088300, acc1=0.984375, acc4=1.000000, lr=0.000025, time_each_step=3.19s, eta=0:1:35 2022-04-23 21:36:01 [INFO] [TRAIN] Epoch=10/10, Step=85/105, loss=0.104130, acc1=0.968750, acc4=1.000000, lr=0.000025, time_each_step=3.19s, eta=0:1:3 2022-04-23 21:36:33 [INFO] [TRAIN] Epoch=10/10, Step=95/105, loss=0.107327, acc1=0.984375, acc4=1.000000, lr=0.000025, time_each_step=3.19s, eta=0:0:31 2022-04-23 21:37:05 [INFO] [TRAIN] Epoch=10/10, Step=105/105, loss=0.122526, acc1=0.921875, acc4=1.000000, lr=0.000025, time_each_step=3.18s, eta=0:0:0 2022-04-23 21:37:05 [INFO] [TRAIN] Epoch 10 finished, loss=0.119261615, acc1=0.9607143, acc4=1.0 . 2022-04-23 21:37:05 [INFO] Start to evaluate(total_samples=1348, total_steps=22)... 2022-04-23 21:37:25 [INFO] [EVAL] Finished, Epoch=10, acc1=0.966619, acc4=1.000000 . 2022-04-23 21:37:25 [INFO] Current evaluated best model on eval_dataset is epoch_9, acc1=0.9680397510528564 2022-04-23 21:37:25 [INFO] Model saved in output/mobilenetv3_small/epoch_10.
|