You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 5, 2020. It is now read-only.
On Windows, the command 'python -m caffe2.python.models.download -i squeezenet' fails with the error "'module' object has no attribute 'symlink'. It is my understanding that symlink is not available on non-Unix OSes.
The text was updated successfully, but these errors were encountered:
I've got the script to run by replacing the line os.symlink("{folder}/__sym_init__.py".format(folder=dir_path),"{folder}/__init__.py".format(folder=model_folder)) with win32file.CreateSymbolicLink("{folder}/__init__.py".format(folder=model_folder), "{folder}/__sym_init__.py".format(folder=dir_path), 1) in download.py (and adding 'import win32file'), but when I try to import squeezenet from caffe2.python.models it fails.
I think my source and target may be the wrong way round, but if I swap them I get an error about creating a file that already exists.
On Windows, the command 'python -m caffe2.python.models.download -i squeezenet' fails with the error "'module' object has no attribute 'symlink'. It is my understanding that symlink is not available on non-Unix OSes.
The text was updated successfully, but these errors were encountered: