-
Notifications
You must be signed in to change notification settings - Fork 303
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
attach trials #2544
Comments
Hi @Fa20, your code is missing definitions for
to
like in the loop below. Probably you just want to make sure you start with a clean experiment though. If this isn't it, please fix your minimal repro and I'll be happy to look again. Your minimal repro should include imports and all, with any private information substituted, so that I can copy and paste it into my own notebook and click run without any modification and see the error (or general problem) you're having. |
@danielcohenlive thanks for your answer.No I do not want clean and start from the beginning the problem that I need to evaluate the objective functions by simulation which need to keep the Ax code running till to get the result from the simulation and I thought that I can avoid this by stop run the code till the simulation is finished and attach the parmas . Is there in Ax better way to solve this problem in case that I do not want to keep the code running till get the result from Simulation? |
@Fa20 could you clarify what you mean by not wanting to keep the code running... If you're talking about running a human in the loop experiment see https://ax.dev/tutorials/human_in_the_loop/human_in_the_loop.html. It's not written in AxClient though, so you'll have to cross reference with the service API tutorial. |
@danielcohenlive I mean when we run the Loop start the Generation step then evaluate the objective with this values of parameters. In my case I do not have this value of objective functions and I should calculate it Numerical which need some time and the Ax Code should wait till to get this value and then go to the next step .is there any way to that after the first Generation step that we can step excuted the code till the calculation of objective finished and then run it again but this time the step of evaluate the objective can be excuted |
Hi @Fa20, again drive-by commenting, but maybe you can:
Probably you can also set up a scheduler, but I'm not sure how that works in Service. |
@Abrikosoff step 4 |
You probably would want to, although I think you can also partially complete the set of suggested trials. In that case if the remainder is larger than your |
@Fa20 it looks like this issue can be closed. If you have further questions, please reopen it. |
I have tried to attach trial to my experiment but when ax_client.generation_strategy.trials_as_df I can not see the attached experiment and when I run the code again I got
The text was updated successfully, but these errors were encountered: