Skip to content

fix the bugs running in Python3#26

Open
newborn1 wants to merge 1 commit intolaiguokun:masterfrom
newborn1:fix_bug
Open

fix the bugs running in Python3#26
newborn1 wants to merge 1 commit intolaiguokun:masterfrom
newborn1:fix_bug

Conversation

@newborn1
Copy link

@newborn1 newborn1 commented Jun 7, 2023

1、self.pt needs to be an integer.
2、loss.data[0] should be change to loss.item() in Python3

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