1、运行val.py ;train.py
出现No module name 'yaml'
直接使用pip install yaml无法安装成功
解决办法:使用pip install pyyaml安装
2、no module name 'albumentations'
直接使用pip install albumentations
将albumentations版本从1.3.0换为1.1.0
问题:module 'albumentations.augmentations.transforms' has no attribute 'Resize'
将Resize前的transforms改为A
程序开头已经定义A
import albumentations as A
3、transformers安装
方法1:
pip install transformers
方法2:使用conda
conda install -c huggingface transformers
具体细节:transformers安装教程
还有个别忘记记录