Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Update train.py#138

Open
mtfelix wants to merge 1 commit intospro:masterfrom
mtfelix:patch-1
Open

Update train.py#138
mtfelix wants to merge 1 commit intospro:masterfrom
mtfelix:patch-1

Conversation

@mtfelix
Copy link

@mtfelix mtfelix commented Sep 6, 2019

Use tensor.item() to convert a 0-dim tensor to a Python number

Use tensor.item() to convert a 0-dim tensor to a Python number
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant