[example] add train resnet/vit with booster example (#3694)

* [example] add train vit with booster example

* [example] update readme

* [example] add train resnet with booster example

* [example] enable ci

* [example] enable ci

* [example] add requirements

* [hotfix] fix analyzer init

* [example] update requirements
This commit is contained in:
Hongxin Liu
2023-05-08 10:42:30 +08:00
committed by GitHub
parent 2629f9717d
commit f83ea813f5
17 changed files with 578 additions and 174 deletions

View File

@@ -10,6 +10,12 @@ This example provides a training script, which provides an example of finetuning
- `--target_f1`: Target f1 score. Raise exception if not reached. Defaults to `None`.
### Install requirements
```bash
pip install -r requirements.txt
```
### Train
```bash