D-X-Y / AutoDL-Projects

Automated deep learning algorithms implemented in PyTorch.
MIT License
1.56k stars 281 forks source link

Must set TORCH_HOME envoriment variable for data dir saving #15

Closed zihaozhang9 closed 5 years ago

zihaozhang9 commented 5 years ago

I use UDA_VISIBLE_DEVICES=0 bash ./scripts-cnn/train-cifar.sh GDAS_FG cifar10 cut, get Must set TORCH_HOME envoriment variable for data dir saving

D-X-Y commented 5 years ago

TORCH_HOME must be set to use my scripts, you can set it as '~/.torch', you can simply use export TORCH_HOME="~/.torch".

iaxat commented 4 years ago

TORCH_HOME must be set to use my scripts, you can set it as '~/.torch', you can simply use export TORCH_HOME="~/.torch".

How to do it and where?

D-X-Y commented 4 years ago

@iaxat in bashrc