Skip to content

zhtmike/mindspore-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(Unofficial) Mindspore Optimizer

Support Optimizers

Environment

  • python >= 3.9
  • mindspore >= 2.5.0

Test

To test the optimizer, follow these steps using the CIFAR-10 dataset:

  1. Download the CIFAR-10 binary dataset and unzip it with the following command:
wget -c https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/notebook/datasets/cifar-10-binary.tar.gz -P tests/data/ && tar xzf tests/data/cifar-10-binary.tar.gz -C tests/data/
  1. Install mindcv >= 0.3.0 by
pip install mindcv
  1. Start training by running:
PYTHONPATH=$(pwd):$PYTHONPATH python tests/train.py -n adafactor

During training, the results will be displayed in the terminal, and an additional loss curve plot named loss.jpg will be saved.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages