Mathux / TEMOS

Official PyTorch implementation of the paper "TEMOS: Generating diverse human motions from textual descriptions", ECCV 2022 (Oral)
https://mathis.petrovich.fr/temos/
MIT License
378 stars 25 forks source link

Some errors related to render and blender #28

Closed fyyakaxyy closed 1 year ago

fyyakaxyy commented 1 year ago

Firstly, I would like to thank the author for providing a very valuable project. I encountered some issues during the render and blender:

  1. Locate the python installation,/path/to/blender/pythonis:- D:\fyy\TEMOS\blender-2.93.14-windows-x64\blender-2.93.14-windows-x64\2.93\python,But when I run:

    D:\fyy\TEMOS\blender-2.93.14-windows-x64\blender-2.93.14-windows-x64\2.93\python -m ensurepip --upgrade

    or

    blender-2.93.14-windows-x64\blender-2.93.14-windows-x64\2.93\python -m ensurepip --upgrade

    cmd prompts:'blender-2.93.14-windows-x64\blender-2.93.14-windows-x64\2.93\python' is not an internal or external command, nor is it a runnable program or batch file.

  2. When I change /path/to/blender/python directly to python, I can complete the installation command:When I change /path/to/blender/Python directly to Python, I can complete the installation command:

    (temos) D:\fyy\TEMOS>python -m ensurepip --upgrade
    Looking in links: c:\Users\ADMINI~1.DES\AppData\Local\Temp\tmpcdpms3ic
    Requirement already satisfied: setuptools in c:\users\administrator.desktop-nkif354\.conda\envs\temos\lib\site-packages (65.6.3)
    Requirement already satisfied: pip in c:\users\administrator.desktop-nkif354\.conda\envs\temos\lib\site-packages (23.0.1)

    But there will be an error when running render. pyNo module named 'omegaconf'

    (temos) D:\fyy\TEMOS>blender-2.93.14-windows-x64\blender-2.93.14-windows-x64\blender --background --python render.py -- folder=outputs\kit-mmm-xyz\baseline\38yco6ib
    Blender 2.93.14 (hash dcf0f452818e built 2023-01-17 08:39:13)
    Read prefs: C:\Users\Administrator.DESKTOP-NKIF354\AppData\Roaming\Blender Foundation\Blender\2.93\config\userpref.blend
    Traceback (most recent call last):
     File "<string>", line 1, in <module>
     File "D:\fyy\TEMOS\render.py", line 11, in <module>
       import temos.launch.prepare  # noqa
     File "D:\fyy\TEMOS\temos\launch\prepare.py", line 4, in <module>
       from omegaconf import OmegaConf
    ModuleNotFoundError: No module named 'omegaconf'

How to solve these problems? Thank you in advance!