javieryu / nerf_bridge

ROS streaming of images and poses to nerfstudio.
MIT License
188 stars 25 forks source link

error during training #28

Open joejep opened 6 months ago

joejep commented 6 months ago

optimizer is no longer specified in the CameraOptimizerConfig, it is now defined with the rest of the param groups inside the config file under the name 'camera_opt'

/home/eiyike/NERF_BRIDGE_WRKSPACE/nerf_bridge/nsros/method_configs.py:42: FutureWarning: above message coming from camera_optimizer=CameraOptimizerConfig(

CameraOptimizerConfig has been moved from the DataManager to the Model.

/home/eiyike/NERF_BRIDGE_WRKSPACE/nerf_bridge/nsros/method_configs.py:36: FutureWarning: above message coming from datamanager=ROSDataManagerConfig(

CameraOptimizerConfig has been moved from the DataManager to the Model.

/usr/local/lib/python3.8/dist-packages/tyro/_calling.py:245: FutureWarning: above message coming from return unwrapped_f(*positional_args, **kwargs), consumed_keywords # type: ignore [01:16:16] Using --data alias for --data.pipeline.datamanager.dataparser.data ros_train.py:56 ──────────────────────────────────────────────────────── Config ──────────────────────────────────────────────────────── ROSTrainerConfig( _target=<class 'nsros.ros_trainer.ROSTrainer'>, output_dir=PosixPath('outputs'), method_name='ros_nerfacto', experiment_name=None, project_name='nerfstudio-project', timestamp='2024-02-27_011616', machine=MachineConfig(seed=42, num_devices=1, num_machines=1, machine_rank=0, dist_url='auto', device_type='cuda'), logging=LoggingConfig( relative_log_dir=PosixPath('.'), steps_per_log=10, max_buffer_size=20, local_writer=LocalWriterConfig( _target=<class 'nerfstudio.utils.writer.LocalWriter'>, enable=True, stats_to_track=( <EventName.ITER_TRAIN_TIME: 'Train Iter (time)'>, <EventName.TRAIN_RAYS_PER_SEC: 'Train Rays / Sec'>, <EventName.CURR_TEST_PSNR: 'Test PSNR'>, <EventName.VIS_RAYS_PER_SEC: 'Vis Rays / Sec'>, <EventName.TEST_RAYS_PER_SEC: 'Test Rays / Sec'>, <EventName.ETA: 'ETA (time)'> ), max_log_size=10 ), profiler='basic'

javieryu commented 6 months ago

Looks like you're using the wrong version of nerfstudio. Try 0.3.4 instead of 1.0.

javieryu commented 6 months ago

can you verify your nerfstudio is installed correctly? This is a torch compiler error so the issue is unrelated to nerfbridge.

joejep commented 6 months ago

I am running the setup from a docker container with ubuntu 20.04 and i am using ros noetic. Its training now but i can view it realtime

javieryu commented 6 months ago

That seems like a docker issue then. Most likely the network is not being shared correctly with the host.