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 util.py #30

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

Update util.py #30

wants to merge 1 commit into from

Commits on Nov 21, 2018

  1. Update util.py

    原code报错:RuntimeError: Expected object of type torch.FloatTensor but found type torch.cuda.FloatTensor for argument #4 'other'
    新增代码:prediction = prediction.cuda()
    zhiweichen0012 authored Nov 21, 2018
    Configuration menu
    Copy the full SHA
    f120fd3 View commit details
    Browse the repository at this point in the history