Giter Club home page Giter Club logo

Comments (6)

fangchangma avatar fangchangma commented on August 21, 2024

To get a size of 480-by-640, you need the following changes in your fork:

  1. modify the train transform and the validation transform to load images of size 480-by-640
  2. modify the output file size in the model definition
    oheight, owidth = 228, 304

Please let me know if these changes work.

from sparse-to-dense.pytorch.

maaft avatar maaft commented on August 21, 2024

What exactly is the reason for sampling down to 228x304? In your paper you cite [3] and [13] but they are also not really explaining the reason for that.

from sparse-to-dense.pytorch.

fangchangma avatar fangchangma commented on August 21, 2024

What exactly is the reason for sampling down to 228x304? In your paper you cite [3] and [13] but they are also not really explaining the reason for that.

I downsampled to 228x304 simply for the sake of comparison against previous methods. I don't think there's anything magical to these numbers. Any size that is above 224x224 (minimal size for ResNet) should work fine.

from sparse-to-dense.pytorch.

duanyongli avatar duanyongli commented on August 21, 2024

@fangchangma After I modify the input and output size to 480*640, model works well.

from sparse-to-dense.pytorch.

RCConnolly avatar RCConnolly commented on August 21, 2024

@fangchangma I am also trying to resize the model to train and output with a size of 480-640 (original image size of the NYU Depth data), but the implementation is now slightly different from your previous instructions since the code has changed.

I though the only necessary modification is to change the following line of code from (228, 304) to (480,640).

self.output_size = (228, 304)

Unfortunately, this results in the following error:
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 81 and 60 in dimension 2 at /pytorch/aten/src/TH/generic/THTensorMoreMath.cpp:1307

Any suggestions?

from sparse-to-dense.pytorch.

whubaichuan avatar whubaichuan commented on August 21, 2024

@duanyongli @RCConnolly @timethy @AbigailFernandes Hi, the download speed (13kb/s ) is too low when I use the command "wget http://datasets.lids.mit.edu/sparse-to-dense/data/nyudepthv2.tar.gz" even in VPN mode. How can I raise the download speed? Looking forward to your reply.

from sparse-to-dense.pytorch.

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.