mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2024-11-25 13:26:47 +00:00
Merge branch 'main' into develop
This commit is contained in:
commit
ad8f3a1277
@ -1 +1 @@
|
|||||||
Subproject commit 71ced0023fd0c0aaaa83bb1ab32bce1d4ed630c7
|
Subproject commit 3c35b80b65fdfca4ba580a6d7d11e9a8ede29f8a
|
@ -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
|
from argparse import ArgumentParser, Namespace
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
11
convert.py
11
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
|
import os
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
import shutil
|
import shutil
|
||||||
|
11
full_eval.py
11
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
|
import os
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
|
|
||||||
|
@ -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
|
||||||
import math
|
import math
|
||||||
from diff_gaussian_rasterization import GaussianRasterizationSettings, GaussianRasterizer
|
from diff_gaussian_rasterization import GaussianRasterizationSettings, GaussianRasterizer
|
||||||
|
@ -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
|
||||||
import traceback
|
import traceback
|
||||||
import socket
|
import socket
|
||||||
|
11
metrics.py
11
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
|
from pathlib import Path
|
||||||
import os
|
import os
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
11
render.py
11
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
|
import torch
|
||||||
from scene import Scene
|
from scene import Scene
|
||||||
import os
|
import os
|
||||||
|
@ -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 os
|
||||||
import random
|
import random
|
||||||
import json
|
import json
|
||||||
|
@ -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
|
||||||
from torch import nn
|
from torch import nn
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
@ -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 numpy as np
|
||||||
import collections
|
import collections
|
||||||
import struct
|
import struct
|
||||||
|
@ -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 os
|
||||||
import sys
|
import sys
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
|
@ -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
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from utils.general_utils import inverse_sigmoid, get_expon_lr_func, build_rotation
|
from utils.general_utils import inverse_sigmoid, get_expon_lr_func, build_rotation
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 3a07ac2e39b9ba7043ffc8bb98397c3ba6e2532d
|
Subproject commit 4aedd8226f7257935891049f5a378b0e21d0aa37
|
@ -1 +1 @@
|
|||||||
Subproject commit 76eff30b1533718fe652799729203821b7f54d73
|
Subproject commit 10b4e40c4e73330ceb1adcb3bae4a494e7d3b9c1
|
11
train.py
11
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 os
|
||||||
import torch
|
import torch
|
||||||
from random import randint
|
from random import randint
|
||||||
|
@ -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
|
from scene.cameras import Camera
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from utils.general_utils import PILtoTorch
|
from utils.general_utils import PILtoTorch
|
||||||
|
@ -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
|
||||||
import sys
|
import sys
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
@ -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
|
||||||
import math
|
import math
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
@ -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
|
||||||
|
|
||||||
def mse(img1, img2):
|
def mse(img1, img2):
|
||||||
|
@ -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
|
||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
from torch.autograd import Variable
|
from torch.autograd import Variable
|
||||||
|
@ -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 errno import EEXIST
|
||||||
from os import makedirs, path
|
from os import makedirs, path
|
||||||
import os
|
import os
|
||||||
|
Loading…
Reference in New Issue
Block a user