You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced by #6965 which fixed the bundle_root to os.getcwd() without updating.
[2023-10-12T08:17:01.366Z] Traceback (most recent call last):
[2023-10-12T08:17:01.366Z] File "/root/.local/share/virtualenvs/MONAI-zoo-premerge-CHR6GQKS/lib/python3.8/site-packages/monai/bundle/config_item.py", line 377, in evaluate
[2023-10-12T08:17:01.366Z] return eval(value[len(self.prefix) :], globals_, locals)
[2023-10-12T08:17:01.366Z] File "<string>", line 1, in <module>
[2023-10-12T08:17:01.366Z] File "/root/.local/share/virtualenvs/MONAI-zoo-premerge-CHR6GQKS/lib/python3.8/site-packages/torch/serialization.py", line 771, in load
[2023-10-12T08:17:01.366Z] with _open_file_like(f, 'rb') as opened_file:
[2023-10-12T08:17:01.366Z] File "/root/.local/share/virtualenvs/MONAI-zoo-premerge-CHR6GQKS/lib/python3.8/site-packages/torch/serialization.py", line 270, in _open_file_like
[2023-10-12T08:17:01.366Z] return _open_file(name_or_buffer, mode)
[2023-10-12T08:17:01.366Z] File "/root/.local/share/virtualenvs/MONAI-zoo-premerge-CHR6GQKS/lib/python3.8/site-packages/torch/serialization.py", line 251, in __init__
[2023-10-12T08:17:01.366Z] super(_open_file, self).__init__(open(name, mode))
[2023-10-12T08:17:01.366Z] FileNotFoundError: [Errno 2] No such file or directory: './models/search_code_18590.pt'
The text was updated successfully, but these errors were encountered:
Fixes#7123
### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Integration tests passed locally by running `./runtests.sh -f -u
--net --coverage`.
- [ ] Quick tests passed locally by running `./runtests.sh --quick
--unittests --disttests`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated, tested `make html` command in the `docs/`
folder.
---------
Signed-off-by: KumoLiu <[email protected]>
Introduced by #6965 which fixed the
bundle_root
toos.getcwd()
without updating.The text was updated successfully, but these errors were encountered: