Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run on CPU #8

Open
NaeemKhan333 opened this issue Oct 28, 2019 · 4 comments
Open

Run on CPU #8

NaeemKhan333 opened this issue Oct 28, 2019 · 4 comments

Comments

@NaeemKhan333
Copy link

How to run this code on CPU machine.please guide me about this.Thanks

@zjjzjj123
Copy link

you can modify '.cuda()' this code and modify SPPE/src/main_fast_inference.py code 'torch.load('.....du.....th')' ->'torch.load('.....du.....th',map_location='cpu)'
i think is ok on video_demo.py

@zjjzjj123
Copy link

@NaeemKhan333

@Ashish-Surve
Copy link

Ashish-Surve commented Jan 3, 2020

@zjjzjj123 - what do you mean by modify '.cuda()'. Am I supposed to just remove it from dataloader.py? for video.

@i-m-arin
Copy link

There are a lot of files where CUDA is used. Changing every one of them manually is quite difficult. Is there any other way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants