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

AttributeError: 'dict' object has no attribute 'name' #1604

Closed
SamirLamin opened this issue May 3, 2023 · 2 comments
Closed

AttributeError: 'dict' object has no attribute 'name' #1604

SamirLamin opened this issue May 3, 2023 · 2 comments
Assignees

Comments

@SamirLamin
Copy link

Hello. I tried to implement AX for my multiobjective Bayesian optimization but I get this error can you help me to solve it
Screenshot 2023-05-03 144243

@mpolson64
Copy link
Contributor

Hi Samir -- it looks like you're trying to set up an Ax Experiment, but using the Service API experiment creation syntax. Ax exposes a number of different API's to its users that are appropriate for different settings. The Service API is designed to allow the user to "ask" Ax to generate new parameterizations while scheduling their own trials; I suggest you check out this tutorial as a good starting point https://ax.dev/tutorials/gpei_hartmann_service.html . Let me know if this was helpful or if you have any follow up questions.

As an aside: I notice you're passing in a variable called "sense" to the Objective. Ax does not have a notion of sense or ObjectiveSense; are you using Ax directly or some other library that wraps around Ax?

@mpolson64 mpolson64 self-assigned this May 4, 2023
@lena-kashtelyan
Copy link
Contributor

@SamirLamin it seems to me that your question was answered, so I'm closing this issue. Please feel free to follow up on it, but if you do, please reopen the issue as we might not see your comment on a closed one.

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