threedle / da-wand Goto Github PK
View Code? Open in Web Editor NEWMaps a user-selected point to a segmentation which induces a low distortion parameterization
Home Page: https://threedle.github.io/DA-Wand/
Maps a user-selected point to a segmentation which induces a low distortion parameterization
Home Page: https://threedle.github.io/DA-Wand/
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?
Wrote train_v2.py in the script file distortion_train_model.sh but the file is not in the repository.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.