GithubHelp home page GithubHelp logo

Comments (15)

taoranyi avatar taoranyi commented on August 15, 2024 3

Thank you for your attention. You can use the colab from nerfies.

from 4dgaussians.

x-CK-x avatar x-CK-x commented on August 15, 2024 1

Hi, maybe like this:

1. Downloading nerfstudio `pip install nerfstudio`

2. using `ns-process-data` to convert data into `blender` format

3. split data into "transforms_train", "transforms_test", "transforms_val" ( I have not finished using data for only training yet, you can write the code or adding the guidance of using custom data and create a pr o.O)
   btw, the pose calculated by colmap is not precise so rendering quality may not good enough, free-view rendering may cannot work well as you imaging.

I've also noticed issues with colmap in the past regarding the pose. I don't suppose there's a direct replacement for colmap yet is there?

from 4dgaussians.

guanjunwu avatar guanjunwu commented on August 15, 2024

Hi,
maybe like this:

  1. Downloading nerfstudio pip install nerfstudio
  2. using ns-process-data to convert data into blender format
  3. split data into "transforms_train", "transforms_test", "transforms_val" ( I have not finished using data for only training yet, you can write the code or adding the guidance of using custom data and create a pr o.O)
    btw, the pose calculated by colmap is not precise so rendering quality may not good enough, free-view rendering may cannot work well as you imaging.

from 4dgaussians.

guanjunwu avatar guanjunwu commented on August 15, 2024

Yes, thank you for the notation :)

from 4dgaussians.

camtrik avatar camtrik commented on August 15, 2024

Hi, @taoranyi
It seems colab from nerfies can generate most of the required files from custom data, but not points.npy, which is required in 4D Gaussians code.
Any way to generate this file? Or is it necessary for training the 4D Gaussian?

from 4dgaussians.

taoranyi avatar taoranyi commented on August 15, 2024

Hello camtrik! You can use (this method)[https://github.com/hustvl/4DGaussians/blob/a2de1841756f49f7bf8d4b2f6fcad0ee5a8324ae/scene/dataset_readers.py#L449] to randomly initialize instead of using points.npy.

from 4dgaussians.

Tejasdavande07 avatar Tejasdavande07 commented on August 15, 2024

Hi I was getting below mentioned error -
I installed whole set-up properly as below mentioned steps -

First check your installed cuda version typing in a command prompt;

nvcc --version.

do installation of proper cude version
create folder with proper destination.
open this location into cmd.
git clone https://github.com/hustvl/4DGaussians
cd 4DGaussians
git submodule update --init --recursive
conda create -n Gaussians4D python=3.10
conda activate Gaussians4D

Then run these commands, make sure you have activated your conda env first;

conda activate Gaussians4D
pip uninstall torch torchvision torchaudio

I used Python 3.10 and

pip install torch==2.1.0+cu118 torchvision==0.16.0+cu118 torchaudio==2.1.0+cu118 --extra-index-url https://download.pytorch.org/whl/cu118

pip install -e submodules/depth-diff-gaussian-rasterization
pip install -e submodules/simple-knn

pip install nerfstudio

till this I had done installation. please suggest further steps to check already available data-set and my own dataset.

(Gaussians4D) F:\Standalones\test\4DGaussians>python train.py -s data/hypernerf/interp/bouncingballs --port 6017 --expname "hypternerf/interp/bouncingballs" --configs arguments/hypernerf/default.py

Traceback (most recent call last):
File "F:\Standalones\test\4DGaussians\train.py", line 17, in
from gaussian_renderer import render, network_gui
File "F:\Standalones\test\4DGaussians\gaussian_renderer_init_.py", line 15, in
from scene.gaussian_model import GaussianModel
File "F:\Standalones\test\4DGaussians\scene_init_.py", line 16, in
from scene.dataset_readers import sceneLoadTypeCallbacks
File "F:\Standalones\test\4DGaussians\scene\dataset_readers.py", line 26, in
from plyfile import PlyData, PlyElement
ModuleNotFoundError: No module named 'plyfile'

from 4dgaussians.

guanjunwu avatar guanjunwu commented on August 15, 2024

`

Hi I was getting below mentioned error -

(Gaussians4D) F:\Standalones\test\4DGaussians>python train.py -s data/hypernerf/interp/bouncingballs --port 6017 --expname "hypternerf/interp/bouncingballs" --configs arguments/hypernerf/default.py

Traceback (most recent call last): File "F:\Standalones\test\4DGaussians\train.py", line 17, in from gaussian_renderer import render, network_gui File "F:\Standalones\test\4DGaussians\gaussian_renderer__init__.py", line 15, in from scene.gaussian_model import GaussianModel File "F:\Standalones\test\4DGaussians\scene__init__.py", line 16, in from scene.dataset_readers import sceneLoadTypeCallbacks File "F:\Standalones\test\4DGaussians\scene\dataset_readers.py", line 26, in from plyfile import PlyData, PlyElement ModuleNotFoundError: No module named 'plyfile'

maybe pip install plyfile may work?

from 4dgaussians.

Tejasdavande07 avatar Tejasdavande07 commented on August 15, 2024

pip install plyfile

Now getting this issue.

(Gaussians4D) F:\Standalones\test\4DGaussians>python train.py -s data/hypernerf/interp/bouncingballs --port 6017 --expname "hypternerf/interp/bouncingballs" --configs arguments/hypernerf/default.py
Traceback (most recent call last):
File "F:\Standalones\test\4DGaussians\train.py", line 328, in
import mmcv
ModuleNotFoundError: No module named 'mmcv'

from 4dgaussians.

guanjunwu avatar guanjunwu commented on August 15, 2024

pip install plyfile

Now getting this issue.

(Gaussians4D) F:\Standalones\test\4DGaussians>python train.py -s data/hypernerf/interp/bouncingballs --port 6017 --expname "hypternerf/interp/bouncingballs" --configs arguments/hypernerf/default.py Traceback (most recent call last): File "F:\Standalones\test\4DGaussians\train.py", line 328, in import mmcv ModuleNotFoundError: No module named 'mmcv'

I guess that you didn't use pip install -r requirements.txt to install relative packages firstly :)

from 4dgaussians.

Tejasdavande07 avatar Tejasdavande07 commented on August 15, 2024

pip install plyfile

Now getting this issue.
(Gaussians4D) F:\Standalones\test\4DGaussians>python train.py -s data/hypernerf/interp/bouncingballs --port 6017 --expname "hypternerf/interp/bouncingballs" --configs arguments/hypernerf/default.py Traceback (most recent call last): File "F:\Standalones\test\4DGaussians\train.py", line 328, in import mmcv ModuleNotFoundError: No module named 'mmcv'

I guess that you didn't use pip install -r requirements.txt to install relative packages firstly :)

done the changes but still getting below mentioned error -

(Gaussians4D) F:\Standalones\test\4DGaussians>python train.py -s data/hypernerf/interp/bouncingballs --port 6017 --expname "hypternerf/interp/bouncingballs" --configs arguments/hypernerf/default.py
Optimizing
Output folder: ./output/hypternerf/interp/bouncingballs [21/10 14:30:41]
feature_dim: 64 [21/10 14:30:41]
Traceback (most recent call last):
File "F:\Standalones\test\4DGaussians\train.py", line 340, in
training(lp.extract(args), hp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, args.expname)
File "F:\Standalones\test\4DGaussians\train.py", line 224, in training
scene = Scene(dataset, gaussians, load_coarse=None)
File "F:\Standalones\test\4DGaussians\scene_init_.py", line 55, in init
assert False, "Could not recognize scene type!"
AssertionError: Could not recognize scene type!

Please suggest how to process for the data training if you have the file data testing please share so that I can check for the same.

from 4dgaussians.

guanjunwu avatar guanjunwu commented on August 15, 2024

pip install plyfile

Now getting this issue.
(Gaussians4D) F:\Standalones\test\4DGaussians>python train.py -s data/hypernerf/interp/bouncingballs --port 6017 --expname "hypternerf/interp/bouncingballs" --configs arguments/hypernerf/default.py Traceback (most recent call last): File "F:\Standalones\test\4DGaussians\train.py", line 328, in import mmcv ModuleNotFoundError: No module named 'mmcv'

I guess that you didn't use pip install -r requirements.txt to install relative packages firstly :)

done the changes but still getting below mentioned error -

(Gaussians4D) F:\Standalones\test\4DGaussians>python train.py -s data/hypernerf/interp/bouncingballs --port 6017 --expname "hypternerf/interp/bouncingballs" --configs arguments/hypernerf/default.py Optimizing Output folder: ./output/hypternerf/interp/bouncingballs [21/10 14:30:41] feature_dim: 64 [21/10 14:30:41] Traceback (most recent call last): File "F:\Standalones\test\4DGaussians\train.py", line 340, in training(lp.extract(args), hp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, args.expname) File "F:\Standalones\test\4DGaussians\train.py", line 224, in training scene = Scene(dataset, gaussians, load_coarse=None) File "F:\Standalones\test\4DGaussians\scene__init__.py", line 55, in init assert False, "Could not recognize scene type!" AssertionError: Could not recognize scene type!

Please suggest how to process for the data training if you have the file data testing please share so that I can check for the same.

Please check your input:
--expname "hypternerf/interp/bouncingballs"

from 4dgaussians.

Tejasdavande07 avatar Tejasdavande07 commented on August 15, 2024

Now in my input side issue was their right?
please share file for input from data folder to run for testing by using command.
share the command to run.

from 4dgaussians.

guanjunwu avatar guanjunwu commented on August 15, 2024

please follow readme.md to set up your environment and prepare your dataset step by step carefully :)
"bouncingballs" is in datasets of dnerf instead of "hypternerf" ("hypernerf" exactly)

from 4dgaussians.

Tejasdavande07 avatar Tejasdavande07 commented on August 15, 2024

please follow readme.md to set up your environment and prepare your dataset step by step carefully :) "bouncingballs" is in datasets of dnerf instead of "hypternerf" ("hypernerf" exactly)

Thanks for suggestion.
actually I was quite confuse in which data-set i have to use thier is lot of reference things are available in readme.md.
for my better understanding please guide me the step for creation of data set for training to output of video.
It helps all those who are come here to see commet.

Thanks

from 4dgaussians.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.