文件最后提交记录最后更新时间
init 4 年前
!4671 【fix】批量修改模型python版本,兼容环境上的python3.8版本 * fix python version 3 年前
init 4 年前
!4671 【fix】批量修改模型python版本,兼容环境上的python3.8版本 * fix python version 3 年前
init 4 年前
!5221 【PyTorch】【built-in】HRnet-OCR、FFHQ_ID2978、HRNet_SEG、ICNet_ID1781、IntraDA模型公网地址整改 * HRnet-OCR、FFHQ_ID2978、HRNet_SEG、ICNet_ID1781、IntraDA模型公网地址整改 2 年前
init 4 年前
!7376 optimize public_address_statement.md Merge pull request !7376 from 王凯宇/master 8 个月前
[众智][PyTorch]整改模型中的requirements.txt文件,删除torch,apex Signed-off-by: bailang <bailang12@h-partners.com> 3 年前
README.md

IntraDA

  • 参考实现:
url=https://github.com/feipan664/IntraDA.git
branch=master 
commit_id=070b0b702fe94a34288eba4ca990410b5aaadc4a

IntraDA Detail

  • 增加了混合精度训练
  • 增加了多卡分布式训练
  • 优化了loss在NPU上的计算效率

Requirements

  • CANN 5.0.2
  • torch
  • apex
  • 安装依赖 pip3.7 install -r requirements.txt

注:pillow建议安装较新版本, 与之对应的torchvision版本如果无法直接安装,可使用源码安装对应的版本,源码参考链接:https://github.com/pytorch/vision ,建议Pillow版本是9.1.0 torchvision版本是0.6.0

Training

cd IntraDA/intrada

# 1p train perf 运行 500 step, 输出 performance_1p.log 文件
bash test/train_performance_1p.sh

# 8p train perf 运行 500 step, 输出 performance_8p.log 文件
bash test/train_performance_8p.sh

# 8p train full 完整训练并保存checkpoints,中间不会测试
bash test/train_full_8p.sh

# eval 测试8p训练保存的 checkpoints 得到精度信息
bash test/train_eval_8p.sh

IntraDA training result

mIoU FPS Npu_nums Epochs AMP_Type
2.7 1 - O2
42.55 21 8 - O2

公网地址说明

代码涉及公网地址参考 public_address_statement.md