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

cannot import name 'TrainingData' #2294

Closed
hello-eternity opened this issue Mar 22, 2024 · 2 comments
Closed

cannot import name 'TrainingData' #2294

hello-eternity opened this issue Mar 22, 2024 · 2 comments
Assignees

Comments

@hello-eternity
Copy link

pip install botorch==0.8.5 0.9.5 0.10.0 meet error

>>> from botorch.utils.containers import TrainingData
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'TrainingData' from 'botorch.utils.containers'
@mpolson64
Copy link
Contributor

Hi @hello-eternity -- I believe TrainingData was deprecated in favor of BotorchContainer back in 0.6.5 (see pytorch/botorch@f998e06, pytorch/botorch#1205). If you have any questions about this change please feel free to ask in the botorch repository and our teammates there will be more than happy to help.

I hope this was helpful, and let us know if you have any questions about Ax :)

@mpolson64 mpolson64 self-assigned this Mar 22, 2024
@hello-eternity
Copy link
Author

thank you, that's worked

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

2 participants