Skip to content

No handlers could be found for logger "hpconvnet.utils"Β #9

@subhadeepkaran

Description

@subhadeepkaran

Cloned the package Hyperopt from Github.

Created a virtualenv, and ran the command python setup.py install

After successful execution of the setup.py. When I ran the THEANO_FLAGS=device=cpu shovel lfw.random_driver --max_n_per_class=20 to test whether the code has been installed properly or not. I was got the following errors

No handlers could be found for logger "hpconvnet.utils"
/home/skaran/Desktop/hyperopt-convnet/myhyper/lib/python2.7/site-packages/scikit_learn-0.18.2-py2.7-linux-x86_64.egg/sklearn/cross_validation.py:44: DeprecationWarning: This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators are different from that of this module. This module will be removed in 0.20.
  "This module will be removed in 0.20.", DeprecationWarning)
[ERROR] Failed to run task random_driver
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/shovel/tasks.py", line 243, in __call__
    return self._obj(*args, **kwargs)
  File "/home/skaran/Desktop/hyperopt-convnet/shovel/lfw.py", line 64, in random_driver
    space=search_space(bagging_fraction=1.0),
  File "/home/skaran/Desktop/hyperopt-convnet/hpconvnet/lfw.py", line 92, in build_search_space
    'ctrl': hyperopt.Bandit.pyll_ctrl,
AttributeError: 'module' object has no attribute 'Bandit'
Traceback (most recent call last):
  File "/home/skaran/Desktop/hyperopt-convnet/myhyper/bin/shovel", line 4, in <module>
    __import__('pkg_resources').run_script('shovel==0.3.0', 'shovel')
  File "/home/skaran/Desktop/hyperopt-convnet/myhyper/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 719, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/home/skaran/Desktop/hyperopt-convnet/myhyper/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1511, in run_script
    exec(script_code, namespace, namespace)
  File "/home/skaran/Desktop/hyperopt-convnet/myhyper/local/lib/python2.7/site-packages/shovel-0.3.0-py2.7.egg/EGG-INFO/scripts/shovel", line 25, in <module>
    
  File "build/bdist.linux-x86_64/egg/shovel/runner.py", line 119, in run
  File "build/bdist.linux-x86_64/egg/shovel/tasks.py", line 246, in __call__
AttributeError: 'module' object has no attribute 'Bandit'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions