mirror of
https://github.com/wassname/DeepTime.git
synced 2026-07-20 12:10:30 +08:00
34 lines
1.3 KiB
Markdown
34 lines
1.3 KiB
Markdown
# install environment
|
|
```sh
|
|
# try with pip torch WORKS!
|
|
export PROJ=deeptime
|
|
conda create -n $PROJ python=3.8 -y
|
|
conda activate $PROJ
|
|
mamba install -y ipykernel pip ipywidgets
|
|
pip install torch==1.10.0+cu113 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
|
|
# 117 does not exist yet
|
|
python -m ipykernel install --user --name $PROJ
|
|
pip install gin-config fire pandas matplotlib numpy scikit-learn einops tensorboard yapf
|
|
pip install tsai
|
|
|
|
# note that I've also recorded the env in requirements
|
|
|
|
python -m experiments.forecast --config_path=storage/experiments/Exchange/192S/repeat=0/config.gin run >> storage/experiments/Exchange/192S/repeat=0/instance.log 2>&1%
|
|
```
|
|
# run
|
|
|
|
```
|
|
python -m experiments.forecast --config_path=storage/experiments/Exchange/96S/repeat=0/config.gin run
|
|
|
|
python -m experiments.forecast --config_path=storage/experiments/Exchange/96Splus/repeat=0/config.gin run
|
|
|
|
python -m experiments.forecast --config_path=storage/experiments/Exchange/96Splusshort/repeat=0/config.gin run
|
|
|
|
python -m experiments.forecast --config_path=storage/experiments/Exchange/96Sshort/repeat=0/config.gin run
|
|
```
|
|
|
|
|
|
# Lessons
|
|
|
|
Single variate works much better. The output is not just a straight line. Likely because we have limited the output, not the input
|