Giter Site home page Giter Site logo

Comments (6)

qiminchen avatar qiminchen commented on June 22, 2024

Any thoughts about this or any direction to look at? Thank you!

from genre-shapehd.

xiumingzhang avatar xiumingzhang commented on June 22, 2024

Sorry for the delayed response. Can you try if
#25
solves this problem?

from genre-shapehd.

qiminchen avatar qiminchen commented on June 22, 2024

I tried different iso-surfaces threshold but none of them worked, even I tried training the wgangp using ShapeNet, it still visualized the triangle, any suggestions? Thanks in advance.

from genre-shapehd.

qiminchen avatar qiminchen commented on June 22, 2024

I might figure out what causes this issue,

  1. Since VoxelGenerator has already added sigmoid layer

    layers.append(nn.Sigmoid())

    use_sigmoid should be set to False when visualizing the gen_voxel, sigmoid(sigmoid('gen_voxel')) will lead to a minimum value of 0.5 so that iso-surfaces threshold always smaller than the min value of the generated voxel. This should solve the triangle problem, am I right?
    for k in cls.voxels:
    prefix = '{:04d}_%02d_' % counter + k + '.obj'
    cls._vis_voxel(pack.get(k), join(outdir, prefix), instance_cnt,
    voxel_isosurf_th)

  2. I'm wondering if we should add sigmoid or tanh to the last layer of the VoxelDiscriminator?

from genre-shapehd.

qiminchen avatar qiminchen commented on June 22, 2024

Update: issue solved by setting the use_sigmoid=False when visualizing the gen_voxel. Still wondering if we should add sigmoid or tanh to the last layer of the VoxelDiscriminator?

from genre-shapehd.

xiumingzhang avatar xiumingzhang commented on June 22, 2024

Glad that visualization issue has been solved.

It makes sense to add sigmoid or tanh to the last layer. I think adding either would work too.

from genre-shapehd.

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.