I’ve been trying to call my model from a script in matlab, and it just throws an error whenever I try and call pytorch:
>> system('python -c "import torch; print(torch.__version__)"')
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/askates/anaconda3/envs/torch/lib/python3.6/site-packages/torch/__init__.py", line 78, in <module>
    from torch._C import *
RuntimeError: stoi: no conversion

Everything works correctly outside of matlab, but fails when called through system commands.