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
Are you still getting this error? Apparently I dont:
(faiss) 11:56:39 root@manifold neural sudo pip install dnc
Requirement already satisfied: dnc in /home/ixaxaar/miniconda3/envs/faiss/lib/python3.6/site-packages (0.0.9)
Requirement already satisfied: torch in /home/ixaxaar/miniconda3/envs/faiss/lib/python3.6/site-packages (from dnc) (0.4.1)
Requirement already satisfied: pyflann3 in /home/ixaxaar/miniconda3/envs/faiss/lib/python3.6/site-packages (from dnc) (1.8.4.1)
Requirement already satisfied: numpy in /home/ixaxaar/miniconda3/envs/faiss/lib/python3.6/site-packages (from dnc) (1.14.2)
(faiss) 11:56:45 root@manifold neural
(faiss) 11:56:46 root@manifold neural
(faiss) 11:56:46 root@manifold neural ipython
Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 18:21:58)
Type 'copyright', 'credits' or 'license'for more information
IPython 6.2.1 -- An enhanced Interactive Python. Type '?'for help.
In [1]: from dnc import DNC
/home/ixaxaar/miniconda3/envs/faiss/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
!pip install dnc
from dnc import DNC
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3267, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
from dnc import DNC
File "/usr/lib/python3.7/site-packages/dnc/init.py", line 4, in
from .dnc import DNC
File "/usr/lib/python3.7/site-packages/dnc/dnc.py", line 13, in
from .util import *
File "/usr/lib/python3.7/site-packages/dnc/util.py", line 30
return var(x.pin_memory(), requires_grad=grad).cuda(gpu_id, async=True)
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered: