Closed KantaphatLeelakunwet closed 3 weeks ago
There are also a bunch of other error like invalid triangleS2D size, and pointS2D size.
Hi @KantaphatLeelakunwet , i fixed that bug in this commit https://github.com/ScheiklP/sofa_zoo/commit/708c8f29afb45c3d22c49dd90ffe5afc0178369a. Could you update your local repository and try again? :)
Cheers, Paul
Hi, @ScheiklP Thanks a lot!
What about the ERROR of Invalid triangleS2D size
and others? Or the ERROR doesn't harm anything?
Hi @KantaphatLeelakunwet , I have not seen this error before. Could you give me some more information about your setup? What are your github commits of
Cheers, Paul
@ScheiklP , Is there any command to check those version?
Hi @KantaphatLeelakunwet ,
in the respective directories, run the command git log -1
.
FOLDER_SRC=$HOME/sofa/src
FOLDER_SP3=$FOLDER_SRC/applications/plugins/SofaPython3
and wherever you cloned sofa_env and sofa_zoo.
Cheers, Paul
Got it. Thanks! Below are the commits.
SOFA: cfaeadccb418337c48d63e05adbf7d09e412d375 (FOLDER_SRC) SofaPython3: b5e28c15305cb8cc21a7dc04d51db47730962f61 (FOLDER_SP3) sofa_env: 0621d12bad12c496b4efa3070cb86eaa5e006582 sofa_zoo: 708c8f29afb45c3d22c49dd90ffe5afc0178369a
Could you update the repositories to the following commits?
SOFA: v23.12 (so just git checkout v23.12
)
SofaPython3: f1ac0f03efd6f6e7c30df8b18259e16da523f0b2
sofa_env: 3c496f109955d7b2608091e26960db95f996b6d4
I can successfully checkout SOFA and SofaPython3, but sofa_env report an error saying that fatal: reference is not a tree: 3c496f109955d7b2608091e26960db95f996b6d4
Please do a git fetch
before trying to checkout the commit.
I found this error while running just now. It seems like in sofa_env/scenes/precision_cutting/precision_cutting_env.py
, at line 382, the number of arguments is 2, but 3 is expected. Should I add rng=self.rng
?
The Invalid thing is still there T.T
Hi @KantaphatLeelakunwet , Two problems:
commit 3c496f109955d7b2608091e26960db95f996b6d4 (HEAD -> main, origin/main, origin/HEAD)
Author: Paul Maria Scheikl <paul.m.scheikl@fau.de>
Date: Fri Mar 15 15:31:24 2024 +0100
[Docs] Update installation instructions.
Thanks a lot. I will try to install it from the beginning as some new error shows up when I recompile CMake.
When I tried to run the command to test the installation python3 sofa_env/scenes/controllable_object_example/controllable_env.py
, I received an Import Error.
\
I have asked one of the cluster admin to install the dependencies using sudo (because I have no access) sudo apt -y install libtinyxml2-dev
, and libtinyxml2.so.9
is installed. He has tried to find an update version of it but he could not find libtinyxml2.so.10
. Do you anyway to solve this problem? Thank you in advance!
Hi @KantaphatLeelakunwet ,
no, sorry, I also just installed libtinyxml2-dev
https://www.sofa-framework.org/community/doc/getting-started/build/linux/#:~:text=tinyXML2,install%20libtinyxml2%2Ddev
Hi @KantaphatLeelakunwet, Were you able to resolve the issue?
When I tried to run
ppo.py
for precision cutting, I encountered a TypeError.I think the reason might come from the return of
zip
function toself.reset_infos
since the return is the iteration of tuple, which is immutable. The error occurred at line 110 in /sofa_zoo/sofa_zoo/common/reset_process_vec_env.pyDo you know any other cause of this problem? Thank you in advance!