updated the environment collection script URL to the raw version on Github to download the script instead of the webpage (#6927)

This commit is contained in:
Varun Agrawal 2018-04-24 23:30:32 -04:00 committed by Edward Z. Yang
parent 8b70f7d248
commit c33d7f565b

View file

@ -15,12 +15,12 @@ Error messages and stack traces are also helpful.
## System Info
Please copy and paste the output from our
[environment collection script](https://github.com/pytorch/pytorch/tree/master/torch/utils/collect_env.py)
[environment collection script](https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py)
(or fill out the checklist below manually).
You can get the script and run it with:
```
wget https://github.com/pytorch/pytorch/tree/master/torch/utils/collect_env.py
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py
```