Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    ゆうとうせい
    @CS2Us
    finally i got the solution, the reason of the problem above is taichi not supported python 3.7.5, so i tried python 3.7.0 and run "pipenv install --dev taichi-nightly", it goes well.
    Davis Dulin
    @dcdulin
    hey, love this project! I just got some examples running. I'd love to contribute, by running some experiments (i've got some thoughts, but would love to talk to someone more informed)
    Vinod Grover
    @vinodgro
    Hi I am trying to run a simple sample with cuda 10-1, but get the followiong error vgrover@vgrover-macu:~/difftaichi/examples$ python3 billiards.py [Release mode] [T 01/21/20 16:56:36.443] [logging.cpp:Logger@68] Taichi core started. Thread ID = 26925 [Taichi version 0.3.25, cuda 10.1, commit c5ce590f] : CommandLine Error: Option 'help-list' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options
    Dody Dharma
    @dodydharma
    after linux restart, when running the python script with taichi, it is always failed like this:
    Traceback (most recent call last):
    File "fractal.py", line 1, in <module>
    import taichi as ti
    File "/usr/local/lib/python3.6/dist-packages/taichi/init.py", line 1, in <module>
    from taichi.main import main
    File "/usr/local/lib/python3.6/dist-packages/taichi/main.py", line 6, in <module>
    from taichi.tools.video import make_video, interpolate_frames, mp4_to_gif, scale_video, crop_video, accelerate_video
    File "/usr/local/lib/python3.6/dist-packages/taichi/tools/video.py", line 3, in <module>
    import taichi.core as core
    File "/usr/local/lib/python3.6/dist-packages/taichi/core/init.py", line 1, in <module>
    from .util import tc_core, build, format, load_module, start_memory_monitoring, \
    File "/usr/local/lib/python3.6/dist-packages/taichi/core/util.py", line 181, in <module>
    assert os.path.exists(os.path.join(bin_dir, 'libtaichi_core.so'))
    彭于斌
    @archibate
    @dodydharma Maybe you can try reinstalling taichi-nightly.
    When I had the same problem, I reinstalled taichi and it works.
    Vinod Grover
    @vinodgro
    @vinodgro this problem doesnt ocur if we use conda environment. the stock python3 has some dependencie on a different version llvm.
    Dody Dharma
    @dodydharma
    @archibate what command do you use? I've tried to add "--ignore-installed " parameter, but still failed
    Davis Dulin
    @dcdulin
    Hey again, do folks have thoughts on using diff taichi for solving some goal oriented particle swarm optimization? Concretely, i was thinking of having a coarse fluid learn to slosh a buoyant ball back and forth. maybe by adding a parameter to the Lagrangian that the model can learn (translating into "kinetic energy added by the agent"), while under the constraint of needing many particles to act together to actually move the ball
    彭于斌
    @archibate
    @dodydharma pip uninstall taichi-nightly, then pip install taichi-nightly
    Are you on Windows?
    oo, i didn't see that, sorry.
    彭于斌
    @archibate
    Did you add TAICHI_REPO_DIR to your .bashrc? If so, it will search libtaichi_core.so in $TAICHI_REPO_DIR/lib instead of /usr/lib.
    Dody Dharma
    @dodydharma
    @archibate Cool! Great thanks mate for the solution. Only by "unset TAICHI_REPO_DIR" . No need to reinstall . Problem solved.
    glovelfan
    @glovelfan
    Hi, I want to play with the 88-line mpm code, and just include taichi.h file in my folder. When I compile the code, it gives me the following error. Does anyone know the reason? Thanks.
    Screenshot from 2020-02-11 09-40-01.png
    Screenshot from 2020-02-11 09-40-01.png
    Screenshot from 2020-02-11 09-40-01.png
    Yuanming Hu
    @yuanming-hu
    @glovelfan please use command g++ mls-mpm88.cpp -std=c++14 -g -lX11 -lpthread -O3 -o mls-mpm
    glovelfan
    @glovelfan
    @yuanming-hu Thanks, it works.
    Davis Dulin
    @dcdulin
    "To the best of our knowledge, programs embedded into swarm robots are currently designed by humans. We hope our work can serve as an inspiration for the field and encourage the design of collective behaviors through differentiable modeling" -Alexander Mordvintsev, created of DeepDream
    https://distill.pub/2020/growing-ca/?/
    EgleXR
    @EgleXR
    Hello, Good Day.
    EgleXR
    @EgleXR
    How can I simulate a litter box.
    EgleXR
    @EgleXR
    I want to make a minigame for virtual reality, which consists of a 2x2 meter surface sandbox, 30 centimeters deep of sand content, with some molds or geometric primitives, and that children can use using their virtual hands.
    It would be designed for the Oculus Quest virtual reality viewer, which has a not so powerful mobile processor. So performance is important.
    Pablo Miranda
    @iponoo_twitter
    Screenshot from 2020-02-15 21-01-14.png
    trying to test elements here...but have no clue where to look or what to do... please, halp! :D
    Pablo Miranda
    @iponoo_twitter
    Screenshot from 2020-02-15 21-19-11.png
    getting better...
    Yuanming Hu
    @yuanming-hu
    Sorry we haven't got a chance to do documentation for taichi_elements, but you can check out our discussions here: taichi-dev/taichi_elements#1
    Pablo Miranda
    @iponoo_twitter
    hi, @yuanming-hu
    actually I got it further
    but always get segmentation fault...
    I'm going to read the thread and try to understand what am I doing wrong... thank you!
    Yuanming Hu
    @yuanming-hu
    @iponoo_twitter could you post the segfault log? Thanks!
    EgleXR
    @EgleXR
    @yuanming-hu Thank for info. I have a question, what is the geometric shape of the particles?
    Pablo Miranda
    @iponoo_twitter
    image.png
    Dody Dharma
    @dodydharma
    @yuanming-hu do you plan to integrate the RigidBody Solver for solid-fluid interaction to Taichi?
    KJStrand
    @KJStrand
    Hi @yuanming-hu, can Taichi be used for rendering research? I read in the docs that recursive functions are not yet supported; I'm curious if a differentiable ray tracer could be built with Taichi. Thank you!
    weijion
    @weijion
    Hi, Yuanming. I am learnng Taichi recently. But I feel it difficult because there is no code comments. It will be great if you can add some code comments.
    @yuanming-hu Hi, Yuanming. I am learnng Taichi recently. But I feel it difficult because there is no code comments. It will be great if you can add some code comments.
    vsharma-sonen
    @vsharma-sonen
    Hi, Yuanming. I have come across Taichi recently and I am hooked. I really appreciate your work. Now I want to reproduce some of your work. My reference document is ACM Trans. Graph., Vol. 38, No. 6, Article 201. Publication date: November 2019. I installed the taichi-nightly-cuda-10-1 as suggested on https://github.com/yuanming-hu/taichi. However, I think this branch does not include the cool mpm_full stuff. How can I, for example, reproduce "ti mpm_full scene=1 scene=1 material=snow output=snow ground_friction=0.2 frame_dt=0.001 dt_mul=0.5 E=4e4 group_size=100
    total_frames=200 bbox=[t/f] " ? Thanks in advance and best regards ! Varun
    Yuanming Hu
    @yuanming-hu
    @vsharma-sonen You'll need the legacy backends to reproduce these. Please see the discussions here: https://github.com/taichi-dev/taichi/issues/367#issuecomment-572867646 However, my suggestion is just to wait until the new LLVM backends are ready, since the legacy code is troublesome to build and no longer maintained.
    vsharma-sonen
    @vsharma-sonen
    Ok - I shall keep an eye out for announcements on your github. I shall spend the time reading some doc files. cheers, Varun
    Juan Camilo Gamboa Higuera
    @juancamilog
    This message was deleted
    1234shel
    @1234shel
    Hi, I am trying to run the examples for mpm but I keep getting this error:
    Traceback (most recent call last):
    File "/taichi_mpm-master/scripts/mls-cpic/banana.py", line 8, in <module>
    mpm = tc.dynamics.MPM(
    AttributeError: module 'taichi' has no attribute 'dynamics'
    I installed taichi using 'pip install'. Then I got the above error. I tried uninstalling and re-installing using the legacy link given but the install file keeps giving compile error. I have seen other people post about this as well under the "issues" section on github but no response. I hope you can help us out.
    Pannekake
    @NoraBoken_twitter
    I'm really interested in the legacy-taichi-dependent projects. They seem really awesome. Has anyone managed to successfully install legacy taichi lately though? or is it just better to wait for the LLVM backends? It didn't work very well for me on Arch
    Dody Dharma
    @dodydharma
    Hi @yuanming-hu : I've just update the latest Taichi but it seems the MPM simulation now become much slower , although the simulation run in GPU. My previous fastest taichi compiler stil support the ti.sqr() function...
    Yuanming Hu
    @yuanming-hu
    Hi guys - thanks for all the questions here - just a quick note that the community has moved all discussions to https://forum.taichi.graphics/ and https://github.com/taichi-dev/taichi/issues people tend to be more responsive there.