issue-tracking
issue-tracking copied to clipboard
How to tweak contents of the 'Reproduce'
Before Asking:
- [+] I have searched the Issue Tracker.
- [+] I have searched the Documentation.
What is your question related to?
- [ ] Comet Python SDK
- [+] Comet UI
- [ ] Third Party Integrations (Huggingface, TensorboardX, Pytorch Lightning etc.)
What is your question?
I haven't found any docs on how to configure the contents of the Reproduce tab in the experiment UI. For example, on the screenshot below I have proper git information (masked out), which I set up thanks to a warning in the log. There is no warning on how to provide the Run
information.
Could you provide a solution on how to get the Run
information?
Also, I think it could be beneficial to display the necessary information to set up UI elements straight in the UI.
Code
exp = comet_ml.Experiment(
api_key=os.environ["COMET_API_KEY"],
auto_output_logging="simple",
auto_metric_logging=True,
auto_param_logging=True,
log_env_details=True,
log_env_host=False,
log_env_gpu=True,
log_env_cpu=True,
log_code=False,
parse_args=True,
display_summary_level=0,
)
What have you tried?
Searching Google for the ways to configure 'Reproduce'
@kirilllzaitsev , how are you running your code? Is it in a Python script, notebook, or other environment? Is the code run by a job scheduler?
@dsblank the code is executed as a script via bash command
Could you send me a link to the Comet experiment? It is ok if it is private, or you can create a "shareable" link. You can email me at [email protected]
You can change/set the Run area of the Reproduce dialog with:
api = API()
exp = api.get_experiment(WORKSPACE, PROJECT, EXPERIMENT)
exp.set_command(["shell.sh", "python", "arg1", "--flag", "value"])
which would give you: