Skip to content

aseembits93/Cold-Hardiness-Journal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  • Set up a new conda environment conda create -n chjournal python=3.9
  • conda activate chjournal
  • Set up conda environment with required packages in requirements.txt pip install -r requirements.txt
  • Install pytorch using conda install pytorch==1.13.1 torchvision==0.14.1 torchaudio==0.13.1 pytorch-cuda=11.7 -c pytorch -c nvidia

Running the model

  • Use the following commands to train the baseline models
python main.py --experiment concat_embedding --name journal_concate
python main.py --experiment mtl --name journal_multih
python main.py --experiment single --name journal_single
python main.py --experiment ferguson --name ferguson
  • Use the following commands to generate the main set of grape cold hardiness results. If you don't want to train the models from scratch, I've uploaded the pretrained models here
python main.py --experiment concat_embedding --name journal_concate --evaluation
python main.py --experiment mtl --name journal_multih --evaluation
python main.py --experiment single --name journal_single --evaluation
python main.py --experiment ferguson --name ferguson --evaluation
  • a copy of the generated results is available in results/

About

Cold Hardiness Journal Submission

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages