Skip to content

自定义数据集,并将数据图片和label一一对应,保存起来。 比如,'pokemon\\mewtwo\\00001.png 对应 ‘0’.然后训练,并保存最好的训练状态。测试最好状态下的预测准确度。计算准确率的写成函数形式。我保存路径包含中文名,参照https://www.runoob.com/python3/python3-string-decode.html 解决中文编码转码问题。在文件路径时,\Long_pytorch_lesson\lesson63自定义数据集这种单 ‘’\‘’在img.split(os.sep)[-2]时有问题,改成双 ‘\\‘’’

Notifications You must be signed in to change notification settings

huangpan2507/pokemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

About

自定义数据集,并将数据图片和label一一对应,保存起来。 比如,'pokemon\\mewtwo\\00001.png 对应 ‘0’.然后训练,并保存最好的训练状态。测试最好状态下的预测准确度。计算准确率的写成函数形式。我保存路径包含中文名,参照https://www.runoob.com/python3/python3-string-decode.html 解决中文编码转码问题。在文件路径时,\Long_pytorch_lesson\lesson63自定义数据集这种单 ‘’\‘’在img.split(os.sep)[-2]时有问题,改成双 ‘\\‘’’

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published