Closed g-mero closed 10 months ago
expect:
but result:
train script python train.py -e 5 -b 10 -s 1 -v 10 -c 4 --amp
python train.py -e 5 -b 10 -s 1 -v 10 -c 4 --amp
predict script python predict.py -m checkpoints/checkpoint_epoch4.pth -s 1 -c 4 -i data/imgs/124.jpg -o res.png
python predict.py -m checkpoints/checkpoint_epoch4.pth -s 1 -c 4 -i data/imgs/124.jpg -o res.png
cause by data under-fitting. improve dataset and increase epochs fix this
I have the same problem! I changed the color mapping to fit multiple classes but I only get 2 classes :(
expect:
but result:
train script
python train.py -e 5 -b 10 -s 1 -v 10 -c 4 --amp
predict script
python predict.py -m checkpoints/checkpoint_epoch4.pth -s 1 -c 4 -i data/imgs/124.jpg -o res.png