deepwatermap icon indicating copy to clipboard operation
deepwatermap copied to clipboard

make dwm installable

Open jsta opened this issue 2 years ago • 0 comments

I created a setup.py file and the other necessary infrastructure to install dwm. The enables inference.py to be called from other locations besides the dwm source code folder. Happy to close this PR but I thought I'd share in case its useful to someone else.

dwm_inference --checkpoint_path checkpoints/cp.135.ckpt --image_path sample_data/image2.tif --save_path water_map.png

instead of

python inference.py --checkpoint_path checkpoints/cp.135.ckpt --image_path sample_data/image2.tif --save_path water_map.png

jsta avatar Jul 06 '22 17:07 jsta