#29 'Tensor' object has no attribute 'asnumpy'

Open
created 1 year ago by TAO_5200 · 2 comments
TAO_5200 commented 1 year ago
<!-- 需要按照模板,填写每一项内容,请勿改动 --> ### 问题所属任务编号(Task 01-05) Task2——转换为其他Python对象 ### 运行环境(操作系统版本、Python 版本)/ 非程序问题 mac torch 1.11.0 Python 3.9.7 ### 完整的报错信息(截图或复制均可)/ 问题详细描述 ``` AttributeError Traceback (most recent call last) /var/folders/5b/dn__zk295kn6p0g2sr593nyr0000gn/T/ipykernel_6092/2192756565.py in <module> X.asnumpy() AttributeError: 'Tensor' object has no attribute 'asnumpy' ``` ### 描述你期望看到的结果
TAO_5200 commented 1 year ago
Poster
看串行了😩
anine09 commented 1 year ago
Collaborator
@TAO_5200 问题现在解决了嘛?
anine09 added this to the 已分配助教 milestone 1 year ago
anine09 self-assigned this 1 year ago
anine09 added the
Task 02
label 1 year ago
anine09 added the
程序问题
label 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.