Skip to content

Commit 4c9c4aa

Browse files
committed
Remove loguru import from body models
1 parent ad8e0e5 commit 4c9c4aa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

smplx/body_models.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
import torch
2626
import torch.nn as nn
27-
from loguru import logger
2827

2928
from .lbs import (
3029
lbs, vertices2landmarks, find_dynamic_lmk_idx_and_bcoords, blend_shapes)
@@ -1224,7 +1223,7 @@ def forward(
12241223
# Concatenate the shape and expression coefficients
12251224
scale = int(batch_size / betas.shape[0])
12261225
if scale > 1:
1227-
betas = betas.expand(scale, -1)
1226+
betas = betas.expand(scale, -1)
12281227
shape_components = torch.cat([betas, expression], dim=-1)
12291228

12301229
shapedirs = torch.cat([self.shapedirs, self.expr_dirs], dim=-1)

0 commit comments

Comments
 (0)