aimhubio / aim

Aim 💫 — An easy-to-use & supercharged open-source experiment tracker.
https://aimstack.io
Apache License 2.0
5.16k stars 316 forks source link

Aim UI can't open within Jupyterlab notebook #3123

Open matrix72c opened 6 months ago

matrix72c commented 6 months ago

🐛 Bug

In Jupyter Notebook, I can't open AimUI.

To reproduce

After %aim init and %load_ext aim, %aim up comes to a error:

Launching Aim ...
Error: No such option: --force-init

Environment

Additional context

I find this problem related with https://github.com/aimhubio/aim/issues/2672 and hasn't been resolved for a while.

LmYjQ commented 4 months ago

same issue

image

aim version v3.19.3

synapticarbors commented 3 months ago

I'm not familiar with the internals of aim, but in https://github.com/aimhubio/aim/blob/main/aim/cli/manager/manager.py#L54, the addition of the --force-init flag seems to be causing an issue. That flag no longer exists and looks like it was removed in https://github.com/aimhubio/aim/commit/3373cbbea1f9d213c3113fdaea2d2b16951dfe2b back in February.