I was following the steps given in https://modelzoo.co/model/pytorch-cyclegan-and-pix2pix 1 to download a pre-trained model.
These where the first 3 commands given there :
git clone https://github.com/pytorch/vision
cd vision
**python setup.py install**

However when i ran the third line, i got an error :
fatal error: ‘memory’ file not found
#include <memory>
error: command ‘gcc’ failed with exit status 1
If anyone has some idea on how to overcome this error, it would be really helpful.
( I use a Mac OS, you can refer ptrblck’s answer if you use a Linux OS )
Thanks in advance !