AI引论---pytorch的使用/dataset

这个up的视频很清楚

https://www.bilibili.com/video/BV1hE411t7RN?p=4

 

花了两个小时终于整清楚了

两个工具

dir() : directory 列出内容

help() : 使用帮助

__xxx__  表示不可更改的内容

 

三个编辑器:

ptcharm : 整块运行

python console 一行行运行 多行用shift + enter

jupyter 一块块运行 运行用 shift + enter

 

 Dataset

注意:windows的路径是以\\隔开

 

posted @ 2022-04-07 18:01  liankewei123456  阅读(30)  评论(0编辑  收藏  举报