Traceback (most recent call last): File "/root/LGM/core/provider_objaverse.py", line 13, in <module> from core.options import Options ModuleNotFoundError: No module named 'core'
解决方法:
一:export PYTHONPATH=$PYTHONPATH:/root/LGM
二:
import sys
import os # 添加模块路径
sys.path.append('/root/LGM')
from core.options import Options
三:cd /root python -m LGM.core.provider_objaverse