Skip to content

Incompatibility of Kaggle Notebooks for Segment Anything V2 #372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 2 tasks
ahmedembeddedxx opened this issue Apr 6, 2025 · 0 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@ahmedembeddedxx
Copy link

ahmedembeddedxx commented Apr 6, 2025

Search before asking

  • I have searched the Roboflow Notebooks issues and found no similar bug report.

Notebook name

Segment Anything V2 on Custom Data

Bug

[rank0]: Traceback (most recent call last):
[rank0]: File "/usr/local/lib/python3.10/dist-packages/hydra/_internal/instantiate/_instantiate2.py", line 92, in _call_target
[rank0]: return target(*args, **kwargs)
[rank0]: File "/kaggle/working/content/sam2/training/dataset/vos_raw_dataset.py", line 170, in init
[rank0]: subset = os.listdir(self.img_folder)
[rank0]: FileNotFoundError: [Errno 2] No such file or directory: '/content/data/train'

The code in train is hardcoded for content data train, despite renaming the files, the issue still persists.

Environment

  • Kaggle
  • Ubuntu
  • Python 3.11

Minimal Reproducible Example

No response

Additional

No response

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@ahmedembeddedxx ahmedembeddedxx added the bug Something isn't working label Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant