Skip to content

fixed cause of AttributeError in callback#10

Open
farazk86 wants to merge 1 commit intoThimira:masterfrom
farazk86:master
Open

fixed cause of AttributeError in callback#10
farazk86 wants to merge 1 commit intoThimira:masterfrom
farazk86:master

Conversation

@farazk86
Copy link

on line 39,

l.append(v.item())

gives the error:

AttributeError: 'float' object has no attribute 'item'

changing to l.append(v) fixes this.

on line ``39``, 
```python
l.append(v.item())
```
gives the error:
> AttributeError: 'float' object has no attribute 'item'

changing to ``l.append(v)`` fixed this
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