文件最后提交记录最后更新时间
!4671 【fix】批量修改模型python版本,兼容环境上的python3.8版本 * fix python version 3 年前
init 4 年前
!5854 Network address of models to be rectified: 28 Merge pull request !5854 from Yss/network_declaration_28 2 年前
init 4 年前
init 4 年前
init 4 年前
init 4 年前
!1231 [PyTorch]pytorch模型torch版本判断由1.8.1改为1.8 * pytorch模型torch版本判断由1.8.1改为1.8 3 年前
init 4 年前
init 4 年前
init 4 年前
fix link validity Co-authored-by: frozenleaves<914814442@qq.com> # message auto-generated for no-merge-commit merge: !7517 merge master into master fix link validity Created-by: frozenn Commit-by: frozenleaves Merged-by: ascend-robot Description: ## Motivation Please describe the motivation of this PR and the goal you want to achieve through this PR. ## Modification Please briefly describe what modification is made in this PR. ## Self-test (Optional) If modifications to this PR may cause/fix function/accuracy/performance DTSs/issues, a self-inspection record needs to be attached. ## BC-breaking (Optional) If there are compatibility issues, such as dependencies on cann/torch_npu versions, they need to be explained in the PR. ## Checklist **Before PR**: - [ ] The new code needs to comply with the Clean Code specification. - [ ] The PR content is self-checked, and the expression can be clear and the writing standardized **After PR**: - [ ] CLA has been signed and all committers have signed the CLA in this PR. - [ ] The ci-pipeline is passed, Code Check is passed. See merge request: Ascend/ModelZoo-PyTorch!75171 个月前
init 4 年前
init 4 年前
init 4 年前
init 4 年前
init 4 年前
!746 【清华大学】【高校贡献】【PyTorch】XCIT 初次提交 !746 【清华大学】【高校贡献】【PyTorch】XCIT 初次提交 3 年前
README.md

XCIT

This implements training of XCIT on the ImageNet dataset, mainly modified from XCIT.

XCIT Detail

As of the current date, Ascend-Pytorch is still inefficient for contiguous operations.

Requirements

Training

To train a model, run main.py with the desired model architecture and the path to the ImageNet dataset:

# training 1p accuracy
bash ./test/train_full_1p.sh --data_path=real_data_path

# training 1p performance
bash ./test/train_performance_1p.sh --data_path=real_data_path

# training 8p accuracy
bash ./test/train_full_8p.sh --data_path=real_data_path

# training 8p performance
bash ./test/train_performance_8p.sh --data_path=real_data_path

#test 8p accuracy
bash test/train_eval_8p.sh --data_path=real_data_path --pth_path=real_pre_train_model_path

Log path: test/output/devie_id/train_${device_id}.log # training detail log test/output/devie_id/WideReesnet50_2_bs8192_8p_perf.log # 8p training performance result log test/output/devie_id/WideReesnet50_2_bs8192_8p_acc.log # 8p training accuracy result log

XCIT training result

Acc@1 FPS Npu_nums Epochs AMP_Type
- 173 1 1 O1
81.89 1401 8 300 O1

Statement

For details about the public address of the code in this repository, you can get from the file public_address_statement.md