Giter Site home page Giter Site logo

train-yolos error about notebooks HOT 13 CLOSED

roboflow avatar roboflow commented on May 18, 2024
train-yolos error

from notebooks.

Comments (13)

SkalskiP avatar SkalskiP commented on May 18, 2024 1

Hello again @robmarkcole 👋🏻! I confirm that the train-yolos-huggingface-object-detection-on-custom-data.ipynb notebook does not work even with our own dataset right now. Judging by logs coming from transformers and pytorch-lightning most likely because of some pip package update. We will work on fixing that issue with the rest of the team.

from notebooks.

SkalskiP avatar SkalskiP commented on May 18, 2024 1

I just released a fix for train-yolos-huggingface-object-detection-on-custom-data.ipynb. I tried it on Google Colab and it works for me. Please take a look, and let me know if you stil experience issues you described.

from notebooks.

robmarkcole avatar robmarkcole commented on May 18, 2024 1

OK run the new notebook and seems OK. Just noted the change to accelerator='gpu', devices=1

from notebooks.

SkalskiP avatar SkalskiP commented on May 18, 2024 1

@i-m-karanagarwal, could you grant me access? I just requested :)

from notebooks.

SkalskiP avatar SkalskiP commented on May 18, 2024

Hi, @robmarkcole 👋🏻! Thank you very much for your interest in Roboflow Notebooks! Please have a little patience. I'm taking a look at your problem, but it may take some time to figure out what's happening. I'll keep you posted.

from notebooks.

robmarkcole avatar robmarkcole commented on May 18, 2024

@SkalskiP I just noticed batch_size=1 which is an odd choice

from notebooks.

SkalskiP avatar SkalskiP commented on May 18, 2024

I'm not sure why @Jacobsolawetz decided to use batch_size=1. Maybe problems with GPU memory overflow. Glad to hear that everything works.

from notebooks.

i-m-karanagarwal avatar i-m-karanagarwal commented on May 18, 2024

@SkalskiP I tried to run the notebook with my own dataset but it showed the same error.
Could you please check what's causing it?

from notebooks.

SkalskiP avatar SkalskiP commented on May 18, 2024

@i-m-karanagarwal just to be sure, could you send me a link to Google Colab that you are using?

from notebooks.

i-m-karanagarwal avatar i-m-karanagarwal commented on May 18, 2024

@SkalskiP Yes here it is https://colab.research.google.com/drive/1Xf6NmlHIs4YiemhDqEBA81eBossgNvWl#scrollTo=0_YBNFmWivR0

from notebooks.

SkalskiP avatar SkalskiP commented on May 18, 2024

Okay, I know what's going on! :) This is an old version of the notebook, before the fix. Please use this version: https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/train-yolos-huggingface-object-detection-on-custom-data.ipynb

@i-m-karanagarwal, could you please let me know where did you found the link to that version? We need to update that link so that others wouldn't struggle with the same errors :)

from notebooks.

i-m-karanagarwal avatar i-m-karanagarwal commented on May 18, 2024

Okay okay
@SkalskiP I found the old version on the documentation site of Roboflow Under YoloS model.

from notebooks.

SkalskiP avatar SkalskiP commented on May 18, 2024

Thank you very much 🙏🏻 @i-m-karanagarwal! I'll make sure that this time the link gets updated :)

from notebooks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.