D-X-Y / AutoDL-Projects

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

About the TORCH_HOME #111

Closed AlyssaZyt closed 2 years ago

AlyssaZyt commented 2 years ago

Where shall I set the TORCH_HOME? I have set the TORCH_HOME in bashrc like this: export TORCH_HOME="/home/yutong.zhang/dataset/" but the system warned me "Must set TORCH_HOME envoriment variable for data dir saving"

D-X-Y commented 2 years ago

Can you have a try to "echo $TORCH_HOME" to see whether your bashrc command is activated? I just put this line in my .bashrc or .zshrc, if your bashrc is loaded then I think it should be fine.

AlyssaZyt commented 2 years ago

Can you have a try to "echo $TORCH_HOME" to see whether your bashrc command is activated? I just put this line in my .bashrc or .zshrc, if your bashrc is loaded then I think it should be fine.

thanks

D-X-Y commented 2 years ago

Feel free to reopen the issue if you still have this issue.