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 train.py #63

Merged
merged 1 commit into from
Aug 28, 2018
Merged

Update train.py #63

merged 1 commit into from
Aug 28, 2018

Conversation

zhangchuangnankai
Copy link
Contributor

if torch.cuda.is_available:
change to
if torch.cuda.is_available():
because torch.cuda.is_available is a function, need '()', it is just a clerical error

   if torch.cuda.is_available:
change to
   if torch.cuda.is_available():
because torch.cuda.is_available is a function, need '()', it is just a clerical error
@zhangchuangnankai
Copy link
Contributor Author

line 266
if torch.cuda.is_available:
change to
if torch.cuda.is_available():
because torch.cuda.is_available is a function, need '()', it is just a clerical error

@layumi layumi merged commit 05de477 into layumi:master Aug 28, 2018
imhmhm pushed a commit to imhmhm/Person_reID_baseline_pytorch that referenced this pull request Mar 16, 2019
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.

2 participants