Followed all the instructions to get the environment running, I've also ran the submodules (optional) script at the start of the instructions. Whenever I try to run the demo, I get the following:
Could not import SPECTRE. Make sure you pull the repository with submodules to enable SPECTRE.
Traceback (most recent call last):
File "/home/hioukaoru/inferno/inferno/models/temporal/external/SpectrePreprocessor.py", line 16, in
from spectre.src.spectre import SPECTRE
ModuleNotFoundError: No module named 'spectre'
Could not import EmoSwinModule. SWIN models will not be available. Make sure you pull the repository with submodules to enable SWIN.
Could not import EmoSwinModule. SWIN models will not be available. Make sure you pull the repository with submodules to enable SWIN.
SWIN not found, will not be able to use SWIN models
Looking for checkpoint in '/home/hioukaoru/inferno/assets/TalkingHead/models/EMOTE_v2/checkpoints'
Found 1 checkpoints
/home/hioukaoru/inferno/assets/TalkingHead/models/EMOTE_v2/checkpoints/last.ckpt
. This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').
bias = torch.arange(start=0, end=max_seq_len).unsqueeze(1).repeat(1,period).view(-1)//(period)
creating the FLAME Decoder
/home/hioukaoru/inferno/inferno/models/DecaFLAME.py:93: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requiresgrad(True), rather than torch.tensor(sourceTensor).
torch.tensor(lmk_embeddings['dynamic_lmk_faces_idx'], dtype=torch.long))
/home/hioukaoru/inferno/inferno/models/DecaFLAME.py:95: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requiresgrad(True), rather than torch.tensor(sourceTensor).
torch.tensor(lmk_embeddings['dynamic_lmk_bary_coords'], dtype=self.dtype))
creating the FLAME Decoder
/home/hioukaoru/anaconda3/envs/work38/lib/python3.8/site-packages/pytorch3d/io/obj_io.py:548: UserWarning: Mtl file does not exist: /home/hioukaoru/inferno/assets/FLAME/geometry/template.mtl
warnings.warn(f"Mtl file does not exist: {f}")
unable to load materials from: template.mtl
100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 184/184 [00:00<00:00, 7214.93it/s] 0%| | 0/184 [00:00<?, ?it/sS
Since SPECTRE is not supposed to be necessary to run the model, the error can be ignored, so I don't whats wrong.
Spectre is not necessary and the error you see is just a print out. Not the nicest and I see how it's confusing. But I don't think, it's crashing your program?
Followed all the instructions to get the environment running, I've also ran the submodules (optional) script at the start of the instructions. Whenever I try to run the demo, I get the following: Could not import SPECTRE. Make sure you pull the repository with submodules to enable SPECTRE. Traceback (most recent call last): File "/home/hioukaoru/inferno/inferno/models/temporal/external/SpectrePreprocessor.py", line 16, in
from spectre.src.spectre import SPECTRE
ModuleNotFoundError: No module named 'spectre'
Could not import EmoSwinModule. SWIN models will not be available. Make sure you pull the repository with submodules to enable SWIN.
Could not import EmoSwinModule. SWIN models will not be available. Make sure you pull the repository with submodules to enable SWIN.
SWIN not found, will not be able to use SWIN models
Looking for checkpoint in '/home/hioukaoru/inferno/assets/TalkingHead/models/EMOTE_v2/checkpoints'
Found 1 checkpoints
Since SPECTRE is not supposed to be necessary to run the model, the error can be ignored, so I don't whats wrong.