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
Hi, I am getting the same error after running import dictlearn. I install the package using python setup.py install and tried with python setup.py build_ext but still gives an error.
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/content/dictlearn/dictlearn/__init__.py in <module>()
83 try:
---> 84 ___SETUP___
85 print('Installing dictlearn...')
NameError: name '___SETUP___' is not defined
<ipython-input-5-e8373b45b542> in <module>()
----> 1 import dictlearn
/content/dictlearn/dictlearn/__init__.py in <module>()
90 #### TODO ####
91 # Speed up imports: This is way to slow!
---> 92 from .algorithms import (
93 Trainer, ImageTrainer, Denoise, Inpaint, ksvd_denoise
94 )
/content/dictlearn/dictlearn/algorithms.py in <module>()
4 import math
5 import numpy as np
----> 6 from . import optimize, inpaint, sparse
7 from .preprocess import Patches
8 from .utils import dct_dict, random_dictionary, imread
/content/dictlearn/dictlearn/optimize.py in <module>()
8 from scipy import linalg
9
---> 10 from . import sparse, preprocess
11
12 """
/content/dictlearn/dictlearn/sparse.py in <module>()
11 from . import filters
12 from . import preprocess
---> 13 from ._dictlearn import _dictlearn
14
15
/content/dictlearn/dictlearn/_dictlearn/__init__.py in <module>()
----> 1 from . import _dictlearn
2 from . import hessian
ImportError: cannot import name '_dictlearn'
Hi, I am getting the same error after running
import dictlearn
. I install the package usingpython setup.py install
and tried withpython setup.py build_ext
but still gives an error.Originally posted by @JorgeNustes in #2 (comment)
The text was updated successfully, but these errors were encountered: