GithubHelp home page GithubHelp logo

realcrane / bayesian-differentiable-physics-for-cloth-digitalization Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 0.0 54.33 MB

Our CVPR 2024 paper 'Bayesian Differentiable Physics for Cloth Digitalization'

C++ 64.72% C 0.52% Python 34.76%

bayesian-differentiable-physics-for-cloth-digitalization's Issues

report a bug: TypeError: update_pos_vel_cuda(): incompatible function arguments. The following argument types are supported: 1. (self: diffsim.Cloth, arg0: int) -> None

Dear author,

when I try to run this project by this command
python experiments/drape_image_bayes_cuda_cotton_blue.py .
I got this error, as follow:
`Create the Log Folder.
Processing Face: 0/5226
Processing Face: 100/5226
Processing Face: 200/5226
Processing Face: 300/5226
Processing Face: 400/5226
Processing Face: 500/5226
Processing Face: 600/5226
Processing Face: 700/5226
Processing Face: 800/5226
Processing Face: 900/5226
Processing Face: 1000/5226
Processing Face: 1100/5226
Processing Face: 1200/5226
Processing Face: 1300/5226
Processing Face: 1400/5226
Processing Face: 1500/5226
Processing Face: 1600/5226
Processing Face: 1700/5226
Processing Face: 1800/5226
Processing Face: 1900/5226
Processing Face: 2000/5226
Processing Face: 2100/5226
Processing Face: 2200/5226
Processing Face: 2300/5226
Processing Face: 2400/5226
Processing Face: 2500/5226
Processing Face: 2600/5226
Processing Face: 2700/5226
Processing Face: 2800/5226
Processing Face: 2900/5226
Processing Face: 3000/5226
Processing Face: 3100/5226
Processing Face: 3200/5226
Processing Face: 3300/5226
Processing Face: 3400/5226
Processing Face: 3500/5226
Processing Face: 3600/5226
Processing Face: 3700/5226
Processing Face: 3800/5226
Processing Face: 3900/5226
Processing Face: 4000/5226
Processing Face: 4100/5226
Processing Face: 4200/5226
Processing Face: 4300/5226
Processing Face: 4400/5226
Processing Face: 4500/5226
Processing Face: 4600/5226
Processing Face: 4700/5226
Processing Face: 4800/5226
Processing Face: 4900/5226
Processing Face: 5000/5226
Processing Face: 5100/5226
Processing Face: 5200/5226
Processing Edge: 0/7924
Processing Edge: 100/7924
Processing Edge: 200/7924
Processing Edge: 300/7924
Processing Edge: 400/7924
Processing Edge: 500/7924
Processing Edge: 600/7924
Processing Edge: 700/7924
Processing Edge: 800/7924
Processing Edge: 900/7924
Processing Edge: 1000/7924
Processing Edge: 1100/7924
Processing Edge: 1200/7924
Processing Edge: 1300/7924
Processing Edge: 1400/7924
Processing Edge: 1500/7924
Processing Edge: 1600/7924
Processing Edge: 1700/7924
Processing Edge: 1800/7924
Processing Edge: 1900/7924
Processing Edge: 2000/7924
Processing Edge: 2100/7924
Processing Edge: 2200/7924
Processing Edge: 2300/7924
Processing Edge: 2400/7924
Processing Edge: 2500/7924
Processing Edge: 2600/7924
Processing Edge: 2700/7924
Processing Edge: 2800/7924
Processing Edge: 2900/7924
Processing Edge: 3000/7924
Processing Edge: 3100/7924
Processing Edge: 3200/7924
Processing Edge: 3300/7924
Processing Edge: 3400/7924
Processing Edge: 3500/7924
Processing Edge: 3600/7924
Processing Edge: 3700/7924
Processing Edge: 3800/7924
Processing Edge: 3900/7924
Processing Edge: 4000/7924
Processing Edge: 4100/7924
Processing Edge: 4200/7924
Processing Edge: 4300/7924
Processing Edge: 4400/7924
Processing Edge: 4500/7924
Processing Edge: 4600/7924
Processing Edge: 4700/7924
Processing Edge: 4800/7924
Processing Edge: 4900/7924
Processing Edge: 5000/7924
Processing Edge: 5100/7924
Processing Edge: 5200/7924
Processing Edge: 5300/7924
Processing Edge: 5400/7924
Processing Edge: 5500/7924
Processing Edge: 5600/7924
Processing Edge: 5700/7924
Processing Edge: 5800/7924
Processing Edge: 5900/7924
Processing Edge: 6000/7924
Processing Edge: 6100/7924
Processing Edge: 6200/7924
Processing Edge: 6300/7924
Processing Edge: 6400/7924
Processing Edge: 6500/7924
Processing Edge: 6600/7924
Processing Edge: 6700/7924
Processing Edge: 6800/7924
Processing Edge: 6900/7924
Processing Edge: 7000/7924
Processing Edge: 7100/7924
Processing Edge: 7200/7924
Processing Edge: 7300/7924
Processing Edge: 7400/7924
Processing Edge: 7500/7924
Processing Edge: 7600/7924
Processing Edge: 7700/7924
Processing Edge: 7800/7924
Processing Edge: 7900/7924
[W SparseCsrTensorImpl.cpp:66] Warning: Sparse CSR tensor support is in beta state. If you miss a functionality in the sparse tensor support, please submit a feature request to https://github.com/pytorch/pytorch/issues. (function operator())
**Traceback (most recent call last):
File "experiments/drape_image_bayes_cuda_cotton_blue.py", line 375, in
image_pred = net.forward(SIM_STEPS) # Simulate and render to silhouette
File "experiments/drape_image_bayes_cuda_cotton_blue.py", line 289, in forward
self.sim.cloths[0].update_pos_vel_cuda()
TypeError: update_pos_vel_cuda(): incompatible function arguments. The following argument types are supported:
1. (self: diffsim.Cloth, arg0: int) -> None

Invoked with: <diffsim.Cloth object at 0x7faf6c1f8570>**`
so, could you give me some advices to fix this bug and run this project well?
many thanks!
looking forward to your reply!

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.