mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-11 12:30:25 +08:00
Update examples/preferential-optimization/generator.py
This commit is contained in:
@@ -47,7 +47,6 @@ def main() -> NoReturn:
|
||||
# 2. Generate image
|
||||
image_path = os.path.join(tmpdir, f"sample-{trial.number}.png")
|
||||
image = Image.new("RGB", (320, 240), color=(r, g, b))
|
||||
# sleep(2.0)
|
||||
image.save(image_path)
|
||||
|
||||
# 3. Upload Artifact
|
||||
|
||||
Reference in New Issue
Block a user