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

Add support to devices without CUDA #50

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

samuelesabella
Copy link

No description provided.

@heyJatin
Copy link

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

@belonel
Copy link

belonel 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