Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'int' object is not subscriptable #13

Closed
AmberLJC opened this issue Oct 5, 2019 · 2 comments
Closed

TypeError: 'int' object is not subscriptable #13

AmberLJC opened this issue Oct 5, 2019 · 2 comments
Assignees

Comments

@AmberLJC
Copy link

AmberLJC commented Oct 5, 2019

Every time the master will get the following error, while the workers don't
Anyone knows how to fix it?
Thanks

exception: Traceback (most recent call last):
File "/users/JIACHEN/.local/lib/python3.6/site-packages/hpbandster/core/worker.py", line 206, in start_computation
result = {'result': self.compute(*args, config_id=id, **kwargs),
File "/usr/local/lib/python3.6/dist-packages/autoPyTorch-0.0.1-py3.6.egg/autoPyTorch/core/worker.py", line 92, in compute
result = self.optimize_pipeline(config, config_id, budget, start_time)
File "/usr/local/lib/python3.6/dist-packages/autoPyTorch-0.0.1-py3.6.egg/autoPyTorch/core/worker.py", line 131, in optimize_pipeline
raise e
File "/usr/local/lib/python3.6/dist-packages/autoPyTorch-0.0.1-py3.6.egg/autoPyTorch/core/worker.py", line 125, in optimize_pipeline
refit=False, rescore=False, hyperparameter_config_id=config_id, dataset_info=self.dataset_info)
File "/usr/local/lib/python3.6/dist-packages/autoPyTorch-0.0.1-py3.6.egg/autoPyTorch/pipeline/base/pipeline.py", line 60, in fit_pipeline
return self.root.fit_traverse(**kwargs)
File "/usr/local/lib/python3.6/dist-packages/autoPyTorch-0.0.1-py3.6.egg/autoPyTorch/pipeline/base/node.py", line 110, in fit_traverse
node.fit_output = node.fit(**required_kwargs)
File "/usr/local/lib/python3.6/dist-packages/autoPyTorch-0.0.1-py3.6.egg/autoPyTorch/pipeline/nodes/cross_validation.py", line 124, in fit
X=X, Y=Y, logger=logger)
File "/usr/local/lib/python3.6/dist-packages/autoPyTorch-0.0.1-py3.6.egg/autoPyTorch/pipeline/nodes/cross_validation.py", line 288, in process_additional_results
combinators[name] = additional_results[split][name]["combinator"]
TypeError: 'int' object is not subscriptable

@mlindauer
Copy link
Contributor

Dear @AmberLJC,

Thank you for your interest in AutoPyTorch.
Could you please provide a mini example to reproduce the error?

Best,
Marius

@AmberLJC
Copy link
Author

AmberLJC commented Oct 6, 2019

Solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants