difftaichi icon indicating copy to clipboard operation
difftaichi copied to clipboard

10 differentiable physical simulators built with Taichi differentiable programming (DiffTaichi, ICLR 2020)

Results 23 difftaichi issues
Sort by recently updated
recently updated
newest added

Take the _diffmpm_simple.py_ as an example, I was thinking to add an additional force during the p2g step, that is, (at line 87) `grid_v_in[f, base + offset] += weight *...

So I'm trying to run the examples yet many of the examples throw the error as shown below:(diffmpm as an example) File "diffmpm.py", line 386, in main() File "diffmpm.py", line...

When I read your code, I found something that is not clear enough and may lead to some confusions, so I did a little bit refactoring including: * removed unused...

I was thinking to detach a variable from gradient computation in ti.kernel. E.g y = copy(x).detach() f(x) = 5x + 6y I hope df/dx = 5, not 11. How can...

``` [Taichi version 0.3.25, cuda 10.0, commit c5ce590f] Using CUDA Device [0]: GeForce GTX 980 Ti Device Compute Capability: 5.2 [E 01/30/20 00:43:20.664] [unified_allocator.cpp:UnifiedAllocator@23] Cuda Error cudaErrorMemoryAllocation: out of memory...

First of all: cool library. I am trying to familiarize myself with it. I tried to make just a simple example. This code makes an image with a black-white gradient,...

I downloaded this billiards example and it runs for an entire minute to finish? I thought it was something simple that would figure out the solution in 100 iterations, in...

In README, I saw the 3D visualization of `diffmpm3d.py` is super cool https://raw.githubusercontent.com/yuanming-hu/public_files/master/learning/difftaichi/diffmpm3d.gif but when I try to reproduce the result, the code only produced `.bin` files. I am wondering...

I was debugging some modifications I made to mass_spring.py when I realized that the result of each run is non-deterministic. I went back to the original mass_spring.py and made sure...

Why is there a cyclical component to the actuation function here? Otherwise does the nn controller not learn a time dependent control signal? https://github.com/yuanming-hu/difftaichi/blob/master/examples/mass_spring.py#L107