- 博客(3)
- 收藏
- 关注
原创 AttributeError: ‘Turtle’ object has no attribute ‘done’
AttributeError: ‘Turtle’ object has no attribute ‘done’AttributeError: ‘Turtle’ object has no attribute ‘done’:我开始准备使用turtle模块绘制一个螺旋线,但是最后绘制的图像没法停留,就是没法看到结果,只能看见过程。这是源代码import turtlet=turtle.Turtle()def test_turtle(object,len):#测试turtle模块绘制螺旋线 if
2021-01-02 21:22:15
1571
原创 Invoked with: typing.Union[int, NoneType], None, <function try_ann_to_type.<
conada下载pytorch时,torchvision出现无法一同下载的情况最后只能import torch,不能import torchvision因此我选用pip 下载torchvision,但是直接pip install torchvision下载后,import时会出现报错Invoked with: typing.Union[int, NoneType], None, <function try_ann_to_type.<上网查了很多方法,大部分说是pytorch和torchvi
2020-07-23 13:13:24
3577
原创 ValueError: Tried to convert ‘min_object_covered‘ to a tensor and failed. Error: None values not sup
ValueError: Tried to convert ‘min_object_covered’ to a tensor and failed. Error: None values not supported.原来的部分begin,size,bounding_box=tf.image.sample_distorted_bounding_box(tf.shape(image_after_decode),bounding_boxes=boxes)改正后的部分begin,size,bounding_b
2020-07-22 23:08:32
721
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人