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

make AlignCNN work on CPU #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

make AlignCNN work on CPU #2

wants to merge 1 commit into from

Conversation

amnda-d
Copy link

@amnda-d amnda-d commented Mar 21, 2019

I changed the AlignCNN class to use CUDA only if the CUDA_VISIBLE_DEVICES environment variable is defined, so otherwise it can run on CPU. Most of the changes are from the code formatter I'm using, and I can get rid of those if you don't want them.

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