Giter Club home page Giter Club logo

maskgenerator's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

maskgenerator's Issues

Where is the batch_size?

I see all inputs in set_input_display are unsqueezed. Why is that? Don't they come in the shape batch x channels x height x width?

Why is there a need for self.image = input.data.x.unsqueeze(0)?

Inefficient image log

Regarding the comet image log:
It seems that we are loading number of images to display * batch size and only displaying the first image of each batch loaded. And we only want to display number of images to display.
Does it make sense to change the code to load the images in this way:
test_display_images =[Dict(val_loader.dataset[i]) for i in range(opts.comet.display_size)]
rather than:
test_display_images = [Dict(iter(val_loader).next()) for i in range(opts.comet.display_size)]
It seems to me that would be more efficient.
If you agree I'll make changes and PR!

License

Code on a repo always needs a license

Mask Depth Generator image logging

Pull request to add depth map input

Currently the images of depth maps are not logged in comet. Here is how depth maps are set as input:

  • A depth map a depth map is read as an image (can be encoded either in Megadepth way (1 channel) or our simulator way (4 channels))
  • Converted to a normalized depth map tensor T with values between [-1, 1]
    Now what is a good way to recover the depth map image ?
    Ideally, I would like to normalize T between [0,1], and plot log(1/T). (you get better visualizations of depth maps if you plot the log inverse depth)
    How do I handle zeros ? Can I just add an arbitratily small epsilon ?

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.