Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

AttributeError: 'NoneType' object has no attribute 'id' #36

@siyujianNovelis

Description

@siyujianNovelis

exp_url = 'https://sigopt.com/experiment/{0}'.format(self.experiment.id)

Creating SigOpt experiment:  XGBClassifier (sklearn)
Traceback (most recent call last):
  File "/snap/pycharm-professional/254/plugins/python/helpers/pydev/pydevd.py", line 1483, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/snap/pycharm-professional/254/plugins/python/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/home/newdriver/Work/Novelis/SigOpt_Eagle/classification_tester.py", line 25, in <module>
    clf.fit(iris.data, iris.target)
  File "/home/newdriver/Work/Novelis/SigOpt_Eagle/venv/lib/python3.7/site-packages/sigopt_sklearn/search.py", line 450, in fit
    return self._fit(X, y=y, groups=groups, **fit_params)
  File "/home/newdriver/Work/Novelis/SigOpt_Eagle/venv/lib/python3.7/site-packages/sigopt_sklearn/search.py", line 337, in _fit
    self.experiment = self._create_sigopt_exp(self.sigopt_connection)
  File "/home/newdriver/Work/Novelis/SigOpt_Eagle/venv/lib/python3.7/site-packages/sigopt_sklearn/search.py", line 262, in _create_sigopt_exp
    exp_url = 'https://sigopt.com/experiment/{0}'.format(self.experiment.id)
AttributeError: 'NoneType' object has no attribute 'id'

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