Alright! I finally got both Debug and Release working! At least the mnist example works.
Thank you peterjc123, especially for your work on PyTorch to make it Windows-compatible!
To make it work on Debug, I had to use
python tools/build_libtorch.py
instead of
python setup.py build
because I couldn’t figure out a way to disable Pythongeneration with setup.py. And with Pythongeneration it wouldn’t find the debug version of python, which is not possible to install in Anaconda.
Also I had to fix a small bug in torch/csrc/byte_order.cpp. Should I make a pullrequest for this?
best regards