omnipose
omnipose copied to clipboard
Train an Omnipose model with 3-channel input images
Hi all, I am trying to train a model from scratch with:
- Input images: (160,160,3) RGB images (array of uint8)
- Input masks: (160,160) 16-bit images
- Training via CLI: --train --use_gpu --n_epochs 1000 --pretrained_model None --learning_rate 0.01 --diameter 0 --batch_size 16 --RAdam --nchan 3 --all_channels --nclasses 2 --tyx 128,128,3
I have tried a couple of --tyx argument (such as 128,128 versus 128,128,3)
The error I received was:
File "/home/thaocao/.conda/envs/omnipose/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/thaocao/.conda/envs/omnipose/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/thaocao/omnipose/omnipose/main.py", line 12, in
If anyone has encountered the same issue or has any suggestions, I'd super appreciate! Thank you!!