Linux中提示No such file or directory解决方法
vs code中路径未进入到项目所在文件夹。故./会报错关于数据集问题,github上下的代码,往往会使用VOC或者COCO数据集,故若要训练自己的数据集,需要转换为相对应的数据集格式
3.wheel 包的命名格式为 {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl
4.only size-1 arrays can be converted to Python scalars
y = x + math.exp(x) -2改为y =[ x + math.exp(x) -2 for x in x]
解决Using TensorFlow backend
import os
os.environ['KERAS_BACKEND']='tensorflow'
解决如下:
将:new_im = Image.fromarray(data)
改为:new_im = Image.fromarray(np.uint8(data))