/Users/maya/.pyenv/versions/3.6.7/lib/python3.6/site-packages/torch/serialization.py:454: SourceChangeWarning: source code of class 'torch.nn.modules.loss.CrossEntropyLoss' has changed.
you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
warnings.warn(msg, SourceChangeWarning)
...
---------------------------------------------------------------------------
FileNotFoundError Traceback (most recent call last)
~/.pyenv/versions/3.6.7/lib/python3.6/pathlib.py in mkdir(self, mode, parents, exist_ok)
1247 try:
-> 1248 self._accessor.mkdir(self, mode)
1249 except FileNotFoundError:
~/.pyenv/versions/3.6.7/lib/python3.6/pathlib.py in wrapped(pathobj, *args)
386 def wrapped(pathobj, *args):
--> 387 return strfunc(str(pathobj), *args)
388 return staticmethod(wrapped)
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/forms/shared/models'
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
~/.pyenv/versions/3.6.7/lib/python3.6/pathlib.py in mkdir(self, mode, parents, exist_ok)
1247 try:
-> 1248 self._accessor.mkdir(self, mode)
1249 except FileNotFoundError:
~/.pyenv/versions/3.6.7/lib/python3.6/pathlib.py in wrapped(pathobj, *args)
386 def wrapped(pathobj, *args):
--> 387 return strfunc(str(pathobj), *args)
388 return staticmethod(wrapped)
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/forms/shared'
...
The missing folder contains training data on the server, but I don’t have it in my local environment