Traceback (most recent call last):


 "main.py", line 320, in <module>

main()


 "main.py", line 152, in main

clustering_loss = deepcluster.cluster(features, verbose=args.verbose)


 "/home/aogorodnikov/deepcluster/clustering.py", line 338, in cluster

I, D = make_graph(xb, self.nnn)


 "/home/aogorodnikov/deepcluster/clustering.py", line 117, in make_graph

index = faiss.GpuIndexFlatL2(res, dim, flat_config)


 "/home/aogorodnikov/anaconda3/envs/imgSudoku/lib/python3.7/site-packages/faiss/__init__.py", line 333, in replacement_init

original_init(self, *args)


 "/home/aogorodnikov/anaconda3/envs/imgSudoku/lib/python3.7/site-packages/faiss/swigfaiss.py", line 5430, in __init__

this = _swigfaiss.new_GpuIndexFlatL2(*args)
RuntimeError: Error in void faiss::gpu::allocMemorySpaceV(faiss::gpu::MemorySpace, void**, size_t) at gpu/utils/MemorySpace.cpp:27: Error: 'err == cudaSuccess' failed: failed to cudaMalloc 1073741824 bytes (error 2 out of memory)

Traceback (most recent call last):

 "<stdin>", line 1, in <module>

 "/usr/local/lib/python2.7/site-packages/pint/registry.py", line 1411, in __init__
self._after_init()

 "/usr/local/lib/python2.7/site-packages/pint/registry.py", line 1221, in _after_init
super(SystemRegistry, self)._after_init()

 "/usr/local/lib/python2.7/site-packages/pint/registry.py", line 164, in _after_init
self.load_definitions(self._filename)

 "/usr/local/lib/python2.7/site-packages/pint/registry.py", line 353, in load_definitions
raise ValueError('While opening {0}\n{1}'.format(file, msg))ValueError: While opening pint_units.txt