Open enzyme69 opened 1 year ago
same, running on M1 Mac
line 124 in txt2mask.py:
model.load_state_dict(torch.load(d64_file, map_location=torch.device('cuda')), strict=False);
change cuda
to cpu
line 124 in txt2mask.py:
model.load_state_dict(torch.load(d64_file, map_location=torch.device('cuda')), strict=False);
change
cuda
tocpu
this worked for me too... kudos!
I am using Mac M1 machine, probably non CUDA, and getting error when using txt2mask script: