Linux中提示No such file or directory解決方法
vs code中路徑未進入到項目所在文件夾。故./會報錯關于數(shù)據(jù)集問題,github上下的代碼,往往會使用VOC或者COCO數(shù)據(jù)集,故若要訓練自己的數(shù)據(jù)集,需要轉換為相對應的數(shù)據(jù)集格式
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))