Untitled
unknown
plain_text
4 years ago
2.3 kB
4
Indexable
maksymilianpilzys@Maksymilians-MacBook-Pro nikitaTests % /usr/local/bin/python3 /Users/maksymilianpilzys/Documents/development/projects/tutorie-health/nikitaTests/trainNetwork_VGG.py /Users/maksymilianpilzys/Documents/development/projects/tutorie-health/nikitaTests () <torch.utils.data.dataloader.DataLoader object at 0x141fd3670> Test before training Evaluating model ---------- Test batch 0/282/usr/local/lib/python3.9/site-packages/torch/nn/functional.py:718: UserWarning: Named tensors and all their associated APIs are an experimental feature and subject to change. Please do not use them for anything important until they are released as stable. (Triggered internally at ../c10/core/TensorImpl.h:1156.) return torch.max_pool2d(input, kernel_size, stride, padding, dilation, ceil_mode) Test batch 200/282 Evaluation completed in 3m 51s Avg loss (test): 0.3471 Avg acc (test): 0.5142 ---------- Ground truth: tensor([0, 1]) Prediction: tensor([0, 0]) Ground truth: tensor([1, 1]) Prediction: tensor([0, 0]) Ground truth: tensor([1, 1]) Prediction: tensor([0, 0]) Epoch 0/1 ---------- Training batch 900/996.5 Validation batch 500/573 Epoch 0 result: Avg loss (train): 0.3624 Avg acc (train): 0.5255 Avg loss (val): 0.3173 Avg acc (val): 0.6070 ---------- Training completed in 60m 37s Best acc: 0.6070 Evaluating model ---------- Test batch 200/282 Evaluation completed in 3m 50s Avg loss (test): 0.3203 Avg acc (test): 0.5833 ---------- Ground truth: tensor([1, 1]) Prediction: tensor([0, 1]) Ground truth: tensor([1, 0]) Prediction: tensor([1, 0]) Ground truth: tensor([1, 1]) Prediction: tensor([1, 0]) Ground truth: tensor([0, 1]) Prediction: tensor([1, 0]) Ground truth: tensor([1, 0]) Prediction: tensor([0, 0]) Ground truth: tensor([1, 1]) Prediction: tensor([1, 1]) Ground truth: tensor([0, 1]) Prediction: tensor([0, 1]) Ground truth: tensor([0, 1]) Prediction: tensor([0, 1]) Ground truth: tensor([1, 1]) Prediction: tensor([1, 0]) Ground truth: tensor([0, 1]) Prediction: tensor([0, 0]) Ground truth: tensor([0, 0]) Prediction: tensor([0, 0]) Ground truth: tensor([1, 1]) Prediction: tensor([0, 1]) Ground truth: tensor([1, 0]) Prediction: tensor([1, 0]) Ground truth: tensor([1, 1]) Prediction: tensor([0, 0]) Ground truth: tensor([0, 0]) Prediction: tensor([0, 1]) Ground truth: tensor([0, 1]) Prediction: tensor([0, 1])
Editor is loading...