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

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

Open
siyujianNovelis opened this issue Sep 2, 2021 · 0 comments
Open

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

siyujianNovelis opened this issue Sep 2, 2021 · 0 comments

Comments

@siyujianNovelis
Copy link

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'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant