Giter Site home page Giter Site logo

Comments (10)

AdeelH avatar AdeelH commented on May 25, 2024

This should have been fixed (#1954) in the 0.21.3 release. Can you make sure you're using the latest version of Raster Vision?

from raster-vision.

skylning avatar skylning commented on May 25, 2024

yes ,i run the pip list and check the Raster Vision, it is 0.21.3

from raster-vision.

AdeelH avatar AdeelH commented on May 25, 2024

That's strange. Please share your code.

from raster-vision.

skylning avatar skylning commented on May 25, 2024

I run the train.ipynb,and change the train_image_uri 、train_label_uri、val_image_uri、val_label_uri as my local data path and get the error,and my torch is 2.1.0+cu121

from raster-vision.

AdeelH avatar AdeelH commented on May 25, 2024

I am not able to reproduce the error using version 0.21.3 and running the code in train.ipynb. Are you able to run the notebook successfully without changing the URIs?

from raster-vision.

chrisjkuch avatar chrisjkuch commented on May 25, 2024

I ran into this issue as well and found that, in my dataset, adding an albumentations transform like transform=A.resize(chip_sz, chip_sz) solves the problem. Perhaps albumentations performs the necessary conversion to the right data type?

from raster-vision.

skylning avatar skylning commented on May 25, 2024

I am not able to reproduce the error using version 0.21.3 and running the code in train.ipynb. Are you able to run the notebook successfully without changing the URIs?

Same issue without change the URLs.

from raster-vision.

skylning avatar skylning commented on May 25, 2024

I ran into this issue as well and found that, in my dataset, adding an albumentations transform like transform=A.resize(chip_sz, chip_sz) solves the problem. Perhaps albumentations performs the necessary conversion to the right data type?

How to add transfom,can you share you code snipe?thanks

from raster-vision.

chrisjkuch avatar chrisjkuch commented on May 25, 2024

See this discussion for an example

from raster-vision.

skylning avatar skylning commented on May 25, 2024

I change the OS to ubuntu 22.04,and no issue happen,it works well.

from raster-vision.

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.