Open WisarutBholsithi opened 1 year ago
Now, I have to downgrade the python used in cuda environment from python 3.9.12 to python3.7.15 to be compatible with Rignet code that use python3.7 with the following modification to allow installation of pytorch package wheels compatible with pytorch1.6 without causing the installation errors.
pip install torch-scatter==2.0.6 -f https://data.pyg.org/whl/torch-1.6.0+cu101.html pip install torch-sparse==0.6.7 -f https://data.pyg.org/whl/torch-1.6.0+cu101.html pip install torch-cluster==1.5.7 -f https://data.pyg.org/whl/torch-1.6.0+cu101.html pip install torch-spline-conv==1.2.0 -f https://data.pyg.org/whl/torch-1.6.0+cu101.html pip install torch-geometric
This installation works well when I ran the command to generate dataset (python3 gen_dataset.py).
However, when I ran the code for quick start, I got a trouble with torch-geometric since the latest version of torch-geometric library (torch-geometric2.2) keeps asking for torch.profiler which is not available in pytorch 1.6 but available in pytorch1.8.1 or later. Which version of torch-geometric which is compatible with pytorch 1.6? Please help me It seems to me that torch-geometric1.7.1 is the one which is compatible with pytorch 1.6 https://pytorch-geometric.readthedocs.io/en/1.7.1/notes/installation.html
Hi, I tried more recent versionS of pytorch and torch-geometric in my new project https://github.com/zhan-xu/MoRig/blob/master/environment.yml. Would you like to take a look?
Hi, I tried more recent versionS of pytorch and torch-geometric in my new project https://github.com/zhan-xu/MoRig/blob/master/environment.yml. Would you like to take a look?
Going to try once I have tried every measure though.
Hi, I tried more recent versionS of pytorch and torch-geometric in my new project https://github.com/zhan-xu/MoRig/blob/master/environment.yml. Would you like to take a look?
I have tried to install MoRig through conda environment but there must be some issues that caused the Docker container to be crashed that require reinstallation of Docker as well as ubuntu, python3.7 and conda. I has better apply manual installation steps by steps rather than using command "conda env create -f environment.yml"
Now, when I test the example "fbx_parser.py", I have found that this example need the Autodesk Maya API1.0 in python3. Which version of Autodesk Maya you have used which have Autodesk Maya API1.0 in python3 to be applied to your example? It seems to me that I need to install Maya2022 which has Autoesk Maya API in python3 according to this example: https://forums.autodesk.com/t5/maya-programming/openmaya-in-anaconda3-with-jupiter-notebook/td-p/11008233
I have used this script in Maya 2018. I have also used Maya 2020, 2022 recently with functions in there, and I didn't have problem. Are you using Jupiter Notebook? I used the script editor within Maya.
I have used this script in Maya 2018. I have also used Maya 2020, 2022 recently with functions in there, and I didn't have problem. Are you using Jupiter Notebook? I used the script editor within Maya.
BTW, I just wonder how did you run your code with the use of python library of Maya 2018 and later version in Windows or in Linux (Ubuntu). If it is in Linux (Ubuntu), I just wonder how did you do this kind of thing since I'm trying to run your code in Docker that use Ubuntu in the container.
I've been using Maya in Windows. I assume you mean numpy and scipy? you can check https://forums.autodesk.com/t5/maya-programming/guide-how-to-install-numpy-scipy-in-maya-windows-64-bit/td-p/5796722
basically you can install any library using the pip from mayapy.
I've been using Maya in Windows. I assume you mean numpy and scipy? you can check https://forums.autodesk.com/t5/maya-programming/guide-how-to-install-numpy-scipy-in-maya-windows-64-bit/td-p/5796722
basically you can install any library using the pip from mayapy.
Well, after I have counterchecked into your python wheel and 7z files along with the application of command "mayapy -m pip list", I got the list of necessary library files as follows:
BTW, I have already followed the instruction to install Python packages shown in mayapy before setting up File path variables for Maya, Initializing the Maya Environment in and for Python along with Setting environment variables using Maya.env as the way to set path to access into Maya API 1.0.
However, I still get the following error when I run the command python fbx_parser.py, and still getting the folowing error:
File "fbx_parser.py", line 1, in <module>
import maya.OpenMaya as om
ModuleNotFoundError: No module named 'maya'
Did I do something wrong with my environment variable setting?
What is your way to set up environment variables so python.exe in C:\Users[user_name].conda\envs\rignet could manage to access Maya API in C:\Program Files\Autodesk\Maya2022\Python37\Lib\site-packages without troubles. Please help me.
I see the problem. For fbx_parser.py, I was using mayapy, which is python shipped within maya, not the one in conda env. You can run fbx_parser.py in maya's scriptor editor.
I have tried to install RigNet to be used in python3.9 through the installation process:
To test that everything works, from the anaconda console go into RigNet-master folder and run:
python quick_start.py
However, I got Aborted result as shown here:![ProblemRunningRigNet](https://user-images.githubusercontent.com/58510558/203980161-f1687b3d-4dcd-491b-a909-1591aa856c86.jpg)
Is there any solution for this problem? BTW, I still unable to access to get testing and training data from this website for training though.