Skip to content
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

Issue: Fine-Tuning SAM2.1 Model on Kaggle Free Tier #518

Open
Faris-Faiz opened this issue Jan 2, 2025 · 1 comment
Open

Issue: Fine-Tuning SAM2.1 Model on Kaggle Free Tier #518

Faris-Faiz opened this issue Jan 2, 2025 · 1 comment

Comments

@Faris-Faiz
Copy link

Hello everyone,

I’m attempting to fine-tune the SAM2.1 model following this tutorial from Roboflow. I’m using Kaggle as the cloud platform for training, leveraging the free tier with 2× T4 GPUs.

The issue arises when I try to start the training process using the following command:

!python training/train.py -c 'configs/training_new.yaml' --use-cluster 0 --num-gpus 2

I’ve tried various approaches to resolve the issue, including modifying the YAML configuration file. I even attempted to use the built-in YAML file from the SAM2 Git repository (sam2/sam2/configs/sam2.1_training/sam2.1_hiera_b+_MOSE_finetune.yaml) by adjusting the img_folder and gt_folder paths to fit my use case. Unfortunately, none of these attempts have resolved the error.

The dataset I am using is from Roboflow Universe.

Before this, I encountered an issue related to Roboflow, which has been resolved. However, I’m now facing this new error during the training step.

Could someone please guide me on how to resolve this issue? Any help would be greatly appreciated!

Thank you for your time and support.

@chayryali
Copy link
Contributor

What is the error you're seeing? Can you share a trace?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants