Open rociorey opened 1 year ago
Your issue may already be reported! Please search on the issue tracker before creating one.
I am running
python neural_style/neural_style.py train --dataset "path" --style-image "image-path" --save-model-dir "path" --epochs 2 --cuda 1
I get the error AttributeError: 'Namespace' object has no attribute 'mps'
AttributeError: 'Namespace' object has no attribute 'mps'
I have tried to set the gpu id to 0 as referenced in issue number 1134, still not working.
Hmm I think this was a recent regression https://github.com/pytorch/examples/pull/1064
Could you try commenting out the mps specific bits from the code and see if that solves the problem?
Your issue may already be reported! Please search on the issue tracker before creating one.
Context
I am running
Your Environment
Current Behavior
I get the error
AttributeError: 'Namespace' object has no attribute 'mps'
I have tried to set the gpu id to 0 as referenced in issue number 1134, still not working.