File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed
Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 11name = " GaussianSplatting"
22uuid = " 991e6b22-92f0-46ac-8b70-8a93e7beee5d"
3- version = " 1.0.2 "
3+ version = " 1.1.0 "
44authors = [
" Anton Smirnov <[email protected] >" ]
55
66[deps ]
@@ -22,7 +22,6 @@ ImageTransformations = "02fcd773-0e25-5acc-982a-7f6622650795"
2222KernelAbstractions = " 63c18a36-062a-441e-b654-da1e3ab1ce7c"
2323LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
2424ModernGL = " 66fc600b-dfda-50eb-8b99-91cfa97b1301"
25- NNlib = " 872c559c-99b0-510c-b3b7-b6c96a88d5cd"
2625NearestNeighbors = " b8a86587-4115-5ab1-83bc-aa920d37bbce"
2726NerfUtils = " 99c1d5ce-7c61-4a25-a107-a5ade2e2a8e4"
2827NeuralGraphicsGL = " 263f7e6d-e369-49af-a86e-c85638573b76"
@@ -63,7 +62,6 @@ ImageMagick = "1.3"
6362ImageTransformations = " 0.10"
6463KernelAbstractions = " 0.9.34"
6564ModernGL = " 1.1"
66- NNlib = " 0.9"
6765NearestNeighbors = " 0.4"
6866NerfUtils = " 0.2"
6967NeuralGraphicsGL = " 0.5"
@@ -73,5 +71,5 @@ Rotations = "1.7"
7371SIMD = " 3.6"
7472StaticArrays = " 1.9"
7573VideoIO = " 1.1"
76- Zygote = " = 0.7.3 "
74+ Zygote = " 0.7"
7775julia = " 1.10"
Original file line number Diff line number Diff line change 11import GaussianSplatting as GSP
22
3- function main (dataset_path:: String ; scale:: Int )
4- kab = GSP. gpu_backend ()
3+ function benchmark (kab, dataset_path:: String ; scale:: Int )
54 @info " Using `$kab ` GPU backend."
65
76 dataset = GSP. ColmapDataset (kab, dataset_path; scale,
@@ -31,4 +30,5 @@ function main(dataset_path::String; scale::Int)
3130 end
3231 return
3332end
34- main (" /home/pxlth/Downloads/360_v2/bicycle" ; scale= 4 )
33+ benchmark (ROCBackend (), " /home/pxlth/Downloads/360_v2/bicycle" ; scale= 4 )
34+ # benchmark(CUDABackend(), "/home/pxl-th/Downloads/360_v2/bicycle"; scale=4)
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ import CImGui.lib as iglib
3333
3434import BSON
3535import ChainRulesCore as CRC
36- import NNlib
3736import ImageFiltering
3837import KernelAbstractions as KA
3938import NerfUtils as NU
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ function (rast::GaussianRasterizer)(
149149 uncertainties:: Maybe{AbstractMatrix{Float32}} = nothing ,
150150)
151151 # If rendering outside AD, use non-allocating path.
152- within_AD = NNlib . within_gradient (means_3d)
152+ within_AD = within_gradient (means_3d)
153153
154154 shs = if within_AD
155155 isempty (sh_remainder) ? sh_color : hcat (sh_color, sh_remainder)
You can’t perform that action at this time.
0 commit comments