Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jefequien committed Oct 29, 2024
1 parent c8fd74d commit 834e4e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions examples/simple_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
from fused_ssim import fused_ssim
from torchmetrics.image.lpip import LearnedPerceptualImagePatchSimilarity
from typing_extensions import Literal, assert_never
from blur_opt import BlurOptModule
from utils import AppearanceOptModule, CameraOptModule, knn, rgb_to_sh, set_random_seed
from lib_bilagrid import (
BilateralGrid,
slice,
color_correct,
total_variation_loss,
)
from blur_kernel import BlurOptModule

from gsplat.compression import PngCompression
from gsplat.distributed import cli
Expand Down Expand Up @@ -412,7 +412,7 @@ def __init__(

self.blur_optimizers = []
if cfg.blur_opt:
self.blur_module = BlurOptModule(cfg, len(self.trainset)).to(self.device)
self.blur_module = BlurOptModule(len(self.trainset)).to(self.device)
self.blur_module.zero_init()
self.blur_optimizers = [
torch.optim.Adam(
Expand Down

0 comments on commit 834e4e8

Please sign in to comment.