Git Product home page Git Product logo

da-wand's People

Contributors

factoryofthesun avatar ranahanocka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

da-wand's Issues

Distortion computation issue during training

I got an error in util/util.py:get_local_tris:
Exception has occurred: RuntimeError stack expects each tensor to be equal size, but got [3697, 5] at entry 0 and [3697, 4] at entry 1 File "/home/user/projects/meshing/dawand/util/util.py", line 324, in get_local_tris local_tris = torch.stack((x, y), dim=-1).reshape(len(angle), 3, 2) File "/home/user/projects/meshing/dawand/util/losses.py", line 51, in arap local_tris = get_local_tris(vertices, faces, device=device) File "/home/user/projects/meshing/dawand/models/dawand.py", line 759, in optimize_parameters arap_distortion_s2 = self.distortion_fcn(local_tris_s2.float(), faces, uv_res_s2.float(), File "/home/user/projects/meshing/dawand/train.py", line 204, in <module> loss, loss_dict = model.optimize_parameters(epoch) RuntimeError: stack expects each tensor to be equal size, but got [3697, 5] at entry 0 and [3697, 4] at entry 1

the runs smoohtly in dawand.py:759
local_tris_s2 = get_local_tris(vertices, faces, device=self.device)

but the output local_tris_s2 is then
through dawand.py:759 and losses:51 again used as input to get_local_tris and then the error occurs.

Should this somewhat work?

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.