Project-MONAI / Project-MONAI/tutorials

module 'aim' has no attribute 'Run'

Open
#1,536 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Jupyter Notebook
Stars
2.5k
Forks
803
Avg merge
6d 22h
Merged PRs (30d)
3

Description

07:00:29  /usr/local/lib/python3.10/dist-packages/papermill/iorw.py:153: UserWarning: the file is not specified with any extension : -
07:00:29    warnings.warn(
07:00:29  Traceback (most recent call last):
07:00:29    File "/usr/local/bin/papermill", line 8, in <module>
07:00:29      sys.exit(papermill())
07:00:29    File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1157, in __call__
07:00:29      return self.main(*args, **kwargs)
07:00:29    File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1078, in main
07:00:29      rv = self.invoke(ctx)
07:00:29    File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1434, in invoke
07:00:29      return ctx.invoke(self.callback, **ctx.params)
07:00:29    File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 783, in invoke
07:00:29      return __callback(*args, **kwargs)
07:00:29    File "/usr/local/lib/python3.10/dist-packages/click/decorators.py", line 33, in new_func
07:00:29      return f(get_current_context(), *args, **kwargs)
07:00:29    File "/usr/local/lib/python3.10/dist-packages/papermill/cli.py", line 250, in papermill
07:00:29      execute_notebook(
07:00:29    File "/usr/local/lib/python3.10/dist-packages/papermill/execute.py", line 128, in execute_notebook
07:00:29      raise_for_execution_errors(nb, output_path)
07:00:29    File "/usr/local/lib/python3.10/dist-packages/papermill/execute.py", line 232, in raise_for_execution_errors
07:00:29      raise error
07:00:29  papermill.exceptions.PapermillExecutionError: 
07:00:29  ---------------------------------------------------------------------------
07:00:29  Exception encountered at "In [6]":
07:00:29  ---------------------------------------------------------------------------
07:00:29  AttributeError                            Traceback (most recent call last)
07:00:29  Cell In[6], line 8
07:00:29        5 track_locally = True
07:00:29        7 if track_locally:
07:00:29  ----> 8     aim_run = aim.Run(experiment=experiment_name)
07:00:29        9 else:
07:00:29       10     remote_tracking_server = "aim://0.0.0.0:53800"
07:00:29  
07:00:29  AttributeError: module 'aim' has no attribute 'Run'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the notebook cell shown as In[6] and inspect how aim is imported and installed before aim.Run is called. Reproduce the papermill execution, then verify that the tutorial proceeds past this cell without the AttributeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.