sdemyanov / ConvNet

Convolutional Neural Networks for Matlab for classification and segmentation, including Invariang Backpropagation (IBP) and Adversarial Training (AT) algorithms. Trained on GPU, require cuDNN v5.
240 stars 141 forks source link

Compilation under Yosemite #21

Open OleksandrVorobiov opened 9 years ago

OleksandrVorobiov commented 9 years ago

Hi Sergey,

thank you a lot for sharing your project. Did you also tried to compile it under Mac Os X (particularly Yosemite)? And in your readme file under Linux compilation stays: Copy the settings file "MatlabRoot"/bin/mexopts.sh to ~/.matlab/"MatlabVersion". Should I copy this file in matlab directory in ConvNet and rename it to eg. MATLAB_R2015a without extension?

Thank you in advance,

Oleksandr Vorobiov

sdemyanov commented 9 years ago

Hi Oleksandr,

I have compiled it on Mac OS once, but it was long time ago. No, you don't need to copy it to ConvNet folder. This is a file with compiler settings. It is not project-specific. If your version is R2015a, you need to copy it to ~/.matlab/R2015a - a folder with Matlab settings for a particular user.

Regards, Sergey.

OleksandrVorobiov commented 9 years ago

Hi Sergey,

thank you for the answer. It did work for CPU compilation with g++ (gcc) but not with default Mac OS clung++ compiler (because of ). I did not try the GPU version yet - I am waiting for the external GPU. I will write the results after.

Regards, Oleksandr