The device (potentially a CUDA device) wasn't being passed to the instantiation of the AdaBins InferenceHelper. Thus it was always picking the default -- typically "cuda:0". This change passes the same device initialized in the main notebook (Which yeah, is hardcoded to "cuda:0".. but is really easy to change to something else).pull/95/head^2
parent
39232ffe7b
commit
e2e5e5bc6f
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue