From 26942586b1c90a72ed13245089350004dbadc937 Mon Sep 17 00:00:00 2001 From: Bernhard Kerbl Date: Wed, 5 Jul 2023 12:22:16 +0200 Subject: [PATCH] Added licenses, bumped submodule versions --- SIBR_viewers_windows | 2 +- arguments/__init__.py | 11 +++++++++++ convert.py | 11 +++++++++++ full_eval.py | 11 +++++++++++ gaussian_renderer/__init__.py | 11 +++++++++++ gaussian_renderer/network_gui.py | 11 +++++++++++ metrics.py | 11 +++++++++++ render.py | 11 +++++++++++ scene/__init__.py | 11 +++++++++++ scene/cameras.py | 11 +++++++++++ scene/colmap_loader.py | 11 +++++++++++ scene/dataset_readers.py | 11 +++++++++++ scene/gaussian_model.py | 11 +++++++++++ submodules/diff-gaussian-rasterization | 2 +- submodules/simple-knn | 2 +- train.py | 11 +++++++++++ utils/camera_utils.py | 11 +++++++++++ utils/general_utils.py | 11 +++++++++++ utils/graphics_utils.py | 11 +++++++++++ utils/image_utils.py | 11 +++++++++++ utils/loss_utils.py | 11 +++++++++++ utils/system_utils.py | 11 +++++++++++ 22 files changed, 212 insertions(+), 3 deletions(-) diff --git a/SIBR_viewers_windows b/SIBR_viewers_windows index 71ced00..3c35b80 160000 --- a/SIBR_viewers_windows +++ b/SIBR_viewers_windows @@ -1 +1 @@ -Subproject commit 71ced0023fd0c0aaaa83bb1ab32bce1d4ed630c7 +Subproject commit 3c35b80b65fdfca4ba580a6d7d11e9a8ede29f8a diff --git a/arguments/__init__.py b/arguments/__init__.py index 424d381..5b057cc 100644 --- a/arguments/__init__.py +++ b/arguments/__init__.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + from argparse import ArgumentParser, Namespace import sys import os diff --git a/convert.py b/convert.py index a9d827c..0f386a4 100644 --- a/convert.py +++ b/convert.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import os from argparse import ArgumentParser import shutil diff --git a/full_eval.py b/full_eval.py index 01be106..c83efbd 100644 --- a/full_eval.py +++ b/full_eval.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import os from argparse import ArgumentParser diff --git a/gaussian_renderer/__init__.py b/gaussian_renderer/__init__.py index 492318c..7ca4cf3 100644 --- a/gaussian_renderer/__init__.py +++ b/gaussian_renderer/__init__.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import torch import math from diff_gaussian_rasterization import GaussianRasterizationSettings, GaussianRasterizer diff --git a/gaussian_renderer/network_gui.py b/gaussian_renderer/network_gui.py index a136f93..df2f9da 100644 --- a/gaussian_renderer/network_gui.py +++ b/gaussian_renderer/network_gui.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import torch import traceback import socket diff --git a/metrics.py b/metrics.py index f59949a..9eed113 100644 --- a/metrics.py +++ b/metrics.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + from pathlib import Path import os from PIL import Image diff --git a/render.py b/render.py index 29b8a71..fc6b82d 100644 --- a/render.py +++ b/render.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import torch from scene import Scene import os diff --git a/scene/__init__.py b/scene/__init__.py index 335d497..c1799f2 100644 --- a/scene/__init__.py +++ b/scene/__init__.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import os import random import json diff --git a/scene/cameras.py b/scene/cameras.py index c3dcc32..b57d351 100644 --- a/scene/cameras.py +++ b/scene/cameras.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import torch from torch import nn import numpy as np diff --git a/scene/colmap_loader.py b/scene/colmap_loader.py index ebdb14e..0f32d23 100644 --- a/scene/colmap_loader.py +++ b/scene/colmap_loader.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import numpy as np import collections import struct diff --git a/scene/dataset_readers.py b/scene/dataset_readers.py index 8939046..babc56b 100644 --- a/scene/dataset_readers.py +++ b/scene/dataset_readers.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import os import sys from PIL import Image diff --git a/scene/gaussian_model.py b/scene/gaussian_model.py index 6b2a249..8cea495 100644 --- a/scene/gaussian_model.py +++ b/scene/gaussian_model.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import torch import numpy as np from utils.general_utils import inverse_sigmoid, get_expon_lr_func, build_rotation diff --git a/submodules/diff-gaussian-rasterization b/submodules/diff-gaussian-rasterization index 3a07ac2..4aedd82 160000 --- a/submodules/diff-gaussian-rasterization +++ b/submodules/diff-gaussian-rasterization @@ -1 +1 @@ -Subproject commit 3a07ac2e39b9ba7043ffc8bb98397c3ba6e2532d +Subproject commit 4aedd8226f7257935891049f5a378b0e21d0aa37 diff --git a/submodules/simple-knn b/submodules/simple-knn index 76eff30..10b4e40 160000 --- a/submodules/simple-knn +++ b/submodules/simple-knn @@ -1 +1 @@ -Subproject commit 76eff30b1533718fe652799729203821b7f54d73 +Subproject commit 10b4e40c4e73330ceb1adcb3bae4a494e7d3b9c1 diff --git a/train.py b/train.py index 0e0c0c4..6192c8b 100644 --- a/train.py +++ b/train.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import os import torch from random import randint diff --git a/utils/camera_utils.py b/utils/camera_utils.py index c778980..4d1b76f 100644 --- a/utils/camera_utils.py +++ b/utils/camera_utils.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + from scene.cameras import Camera import numpy as np from utils.general_utils import PILtoTorch diff --git a/utils/general_utils.py b/utils/general_utils.py index 0dc50dc..541c082 100644 --- a/utils/general_utils.py +++ b/utils/general_utils.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import torch import sys from datetime import datetime diff --git a/utils/graphics_utils.py b/utils/graphics_utils.py index 545fc41..b4627d8 100644 --- a/utils/graphics_utils.py +++ b/utils/graphics_utils.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import torch import math import numpy as np diff --git a/utils/image_utils.py b/utils/image_utils.py index 23e1cb7..cdeaa1b 100644 --- a/utils/image_utils.py +++ b/utils/image_utils.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import torch def mse(img1, img2): diff --git a/utils/loss_utils.py b/utils/loss_utils.py index 08c98a6..9defc23 100644 --- a/utils/loss_utils.py +++ b/utils/loss_utils.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + import torch import torch.nn.functional as F from torch.autograd import Variable diff --git a/utils/system_utils.py b/utils/system_utils.py index 1335538..90ca6d7 100644 --- a/utils/system_utils.py +++ b/utils/system_utils.py @@ -1,3 +1,14 @@ +# +# Copyright (C) 2023, Inria +# GRAPHDECO research group, https://team.inria.fr/graphdeco +# All rights reserved. +# +# This software is free for non-commercial, research and evaluation use +# under the terms of the LICENSE.md file. +# +# For inquiries contact george.drettakis@inria.fr +# + from errno import EEXIST from os import makedirs, path import os