Skip to content

Add support to devices without CUDA#50

Open
samuelesabella wants to merge 4 commits intoGoGoDuck912:masterfrom
samuelesabella:master
Open

Add support to devices without CUDA#50
samuelesabella wants to merge 4 commits intoGoGoDuck912:masterfrom
samuelesabella:master

Conversation

@samuelesabella
Copy link

No description provided.

@heyJatin
Copy link

Thanks a lot for these changes. It saved me a lot of time!

@belider
Copy link

belider commented Mar 22, 2023

@samuelesabella Thanks a lot for your contribution!
I tried to run your branch in google collab and faced the import error. I haven't been able to figure out how to fix this. Do you have any suggestions?

Traceback (most recent call last):
File "/content/Self-Correction-Human-Parsing/simple_extractor.py", line 24, in
import networks
File "/content/Self-Correction-Human-Parsing/networks/init.py", line 3, in
from .AugmentCE2P import resnet101
File "/content/Self-Correction-Human-Parsing/networks/AugmentCE2P.py", line 21, in
from ..modules import InPlaceABNSync
ImportError: attempted relative import beyond top-level package

@EgorOs
Copy link

EgorOs commented Oct 2, 2023

Thank you very much @samuelesabella !
@belonel I managed to load checkpoint in Colab, here is an example https://colab.research.google.com/drive/1Rdm30i9ZuJEfTYMnFb-PRXWLkE6O_NVJ?usp=sharing

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

Successfully merging this pull request may close these issues.

4 participants