test
What it does
# clone project git clone https://github.com/feiji110/puceng.git cd puceng # [OPTIONAL] create conda environment conda create -n myenv python=3.9 conda activate myenv # install pytorch according to instructions # https://pytorch.org/get-started/ # install requirements pip install -r requirements.txt
# clone project git clone https://github.com/feiji110/puceng.git cd puceng # create conda environment and install dependencies conda env create -f environment.yaml -n puceng # activate conda environment conda activate puceng
Train model with default configuration
https://pan.baidu.com/s/139UDLS7Ri818YLXgvDyZ4g?pwd=qn52
/root/miniconda3/envs/puceng/bin/python /root/c/d/puceng/src/data/puceng_datamodule.py
# train on CPU python src/train.py trainer=cpu # train on GPU python src/train.py trainer=gpu
Train model with chosen experiment configuration from configs/experiment/
python src/train.py experiment=experiment_name.yaml
You can override any parameter from command line like this
python src/train.py trainer.max_epochs=20 data.batch_size=64
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
PUCENGDESIGN
Description
What it does
Installation
Pip
Conda
How to run
Train model with default configuration
download data:
https://pan.baidu.com/s/139UDLS7Ri818YLXgvDyZ4g?pwd=qn52
get preprocess.pt
Train model with chosen experiment configuration from configs/experiment/
You can override any parameter from command line like this