700
.ipynb_checkpoints
.ipynb_checkpoints
Traceback (most recent call last):
File "T_predict.py", line 164, in <module>
input,label = getPerfile(idx)
File "T_predict.py", line 114, in getPerfile
allheight = float(parts[0])
ValueError: could not convert string to float: '.ipynb_checkpoints'
在读取数据集标签的时候报错,因为jupter会自动创建.ipynb_checkpoints,这是一个隐藏文件。
解决办法:
用try去解决这个异常。