Git Product home page Git Product logo

Comments (3)

mattmacy avatar mattmacy commented on July 4, 2024

Sorry, for the delay. The dimensions are BatchSize, Channels, Z, Y, X. The point is to create 16 channels, not to increase the batch size by 16x.

from vnet.pytorch.

Cassieyy avatar Cassieyy commented on July 4, 2024

If my understanding is right, the concatenation in the InputTransition block should be applied along dim=1 instead of dim=0, because the second dimension is channel. i.e.

# split input in to 16 channels
x16 = torch.cat((x, x, x, x, x, x, x, x,
                 x, x, x, x, x, x, x, x), 0)

should be

# split input in to 16 channels
x16 = torch.cat((x, x, x, x, x, x, x, x,
                 x, x, x, x, x, x, x, x), 1)

In the meanwhile, the x's channel number is changed via conv1, so that it needs to save the original input(whose channel number is 1), namely

split input in to 16 channels

x16 = torch.cat((input_x, input_x, input_x, input_x, input_x, input_x, input_x, input_x,
input_x, input_x, input_x, input_x, input_x, input_x, input_x, input_x), 1)

from vnet.pytorch.

PussyCat0700 avatar PussyCat0700 commented on July 4, 2024

Sorry, for the delay. The dimensions are BatchSize, Channels, Z, Y, X. The point is to create 16 channels, not to increase the batch size by 16x.

Thx very much for the apply!

from vnet.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.