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

Update README.md #1

Conversation

cyclotomicextension
Copy link
Owner

In this I added import os import torch device = "cuda" if torch.cuda.is_available() else "cpu" so that if someone is using m1 macOS then they do not have to worry about the errors that I previously got which include problems with torch vision and ImportError: cannot import name 'COMMON_SAFE_ASCII_CHARACTERS' from 'charset_normalizer.constant'

In this I added ```import os
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"``` so that if someone is using m1 macOS then they do not have to worry about the errors that I previously got which include problems with torch vision and `ImportError: cannot import name 'COMMON_SAFE_ASCII_CHARACTERS' from 'charset_normalizer.constant'`
@cyclotomicextension cyclotomicextension merged commit be1cd24 into main Jan 16, 2023
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.

1 participant