seamseg icon indicating copy to clipboard operation
seamseg copied to clipboard

Can we run inference on a non CUDA machine?

Open hoominchu opened this issue 2 years ago • 0 comments

I am trying to run inference using the pre-trained models on a MacOS machine and getting an AssertionError thrown:

    assert self.local_world_size > 0
           ^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError

This is the command I am trying to run: python3 -m torch.distributed.launch --nproc_per_node=0 test_panoptic.py --meta ../models/SeamSeg-R50-Vistas/metadata.bin --log_dir ../logs/ ../models/SeamSeg-R50-Vistas/config.ini ../models/SeamSeg-R50-Vistas/seamseg_r50_vistas.tar ../input/ ../output/

Any help will be much appreciated!

hoominchu avatar Oct 23 '23 18:10 hoominchu