Code Monkey home page Code Monkey logo

Comments (5)

glenn-jocher avatar glenn-jocher commented on May 24, 2024 2

@Burhan-Q @kalenmike opened ultralytics/ultralytics#8334 with a fix

from hub.

Burhan-Q avatar Burhan-Q commented on May 24, 2024 1

@kalenmike the class is used in ultralytics.hub.check_dataset which is referenced in the Docs here as a means to verify the dataset before uploading to HUB. The reason I raised this issue is because when I ran the function, it would create this directory without any data and I would have to remove the directory each time. Thought it would be better to move this so it wasn't called every time the class was initialized.

Screenshot_20240220-053151.png

from hub.

glenn-jocher avatar glenn-jocher commented on May 24, 2024 1

Yes that's correct also, the same function is used in both places, this way we guarantee that if it works locally it should also work on the server

from hub.

kalenmike avatar kalenmike commented on May 24, 2024

@Burhan-Q This is an internal method used for HUB. It is not intended to be used outside of HUB. We use it to scan the dataset and generate the preview images. These images are then saved for rendering on the HUB in lower resolution and a more optimized size.

from hub.

glenn-jocher avatar glenn-jocher commented on May 24, 2024

@Burhan-Q yeah I think your understanding is right, perhaps the -hub dir is not always needed. I'll create a PR in ultralytics to update the behavior.

from hub.

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.