Hi, when I was running:
CUDA_VISIBLE_DEVICES=1 python train.py -s data/hypernerf/interp/chickchicken/ --port 6017 --expname "hypernerf/interp/chickchicken" --configs arguments/hypernerf/chicken.py
I got:
Optimizing Output folder: ./output/hypernerf/interp/chickchicken [15/10 18:41:55] Tensorboard not available: not logging progress [15/10 18:41:55] feature_dim: 48 [15/10 18:41:55] load finished [15/10 18:41:55] 114it [00:00, 59694.21it/s] format finished [15/10 18:41:55] 4%|█████▌ | 4/114 [00:00<00:02, 39.99it/s] Traceback (most recent call last): File "train.py", line 429, in <module> 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 "train.py", line 303, in training scene = Scene(dataset, gaussians, load_coarse=None) File "/home/zhangxiaoping/4DGaussians/scene/__init__.py", line 56, in __init__ scene_info = sceneLoadTypeCallbacks["nerfies"](args.source_path, False, args.eval) File "/home/zhangxiaoping/4DGaussians/scene/dataset_readers.py", line 390, in readHyperDataInfos plot_camera_orientations(train_cam_infos, pcd.points) File "/home/zhangxiaoping/4DGaussians/scene/dataset_readers.py", line 522, in plot_camera_orientations for cam in tqdm(cam_list): File "/home/zhangxiaoping/miniconda3/envs/Gaussians4D/lib/python3.7/site-packages/tqdm/std.py", line 1181, in __iter__ for obj in iterable: File "/home/zhangxiaoping/4DGaussians/scene/hyper_loader.py", line 119, in __getitem__ return self.load_raw(self.i_train[index]) File "/home/zhangxiaoping/4DGaussians/scene/hyper_loader.py", line 158, in load_raw image = PILtoTorch(image,None) File "/home/zhangxiaoping/4DGaussians/utils/general_utils.py", line 27, in PILtoTorch resized_image = torch.from_numpy(np.array(resized_image_PIL)) / 255.0 TypeError: can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.
What should I do?
Hi, when I was running:
CUDA_VISIBLE_DEVICES=1 python train.py -s data/hypernerf/interp/chickchicken/ --port 6017 --expname "hypernerf/interp/chickchicken" --configs arguments/hypernerf/chicken.pyI got:
Optimizing Output folder: ./output/hypernerf/interp/chickchicken [15/10 18:41:55] Tensorboard not available: not logging progress [15/10 18:41:55] feature_dim: 48 [15/10 18:41:55] load finished [15/10 18:41:55] 114it [00:00, 59694.21it/s] format finished [15/10 18:41:55] 4%|█████▌ | 4/114 [00:00<00:02, 39.99it/s] Traceback (most recent call last): File "train.py", line 429, in <module> 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 "train.py", line 303, in training scene = Scene(dataset, gaussians, load_coarse=None) File "/home/zhangxiaoping/4DGaussians/scene/__init__.py", line 56, in __init__ scene_info = sceneLoadTypeCallbacks["nerfies"](args.source_path, False, args.eval) File "/home/zhangxiaoping/4DGaussians/scene/dataset_readers.py", line 390, in readHyperDataInfos plot_camera_orientations(train_cam_infos, pcd.points) File "/home/zhangxiaoping/4DGaussians/scene/dataset_readers.py", line 522, in plot_camera_orientations for cam in tqdm(cam_list): File "/home/zhangxiaoping/miniconda3/envs/Gaussians4D/lib/python3.7/site-packages/tqdm/std.py", line 1181, in __iter__ for obj in iterable: File "/home/zhangxiaoping/4DGaussians/scene/hyper_loader.py", line 119, in __getitem__ return self.load_raw(self.i_train[index]) File "/home/zhangxiaoping/4DGaussians/scene/hyper_loader.py", line 158, in load_raw image = PILtoTorch(image,None) File "/home/zhangxiaoping/4DGaussians/utils/general_utils.py", line 27, in PILtoTorch resized_image = torch.from_numpy(np.array(resized_image_PIL)) / 255.0 TypeError: can't convert np.ndarray of type numpy.object_. The only supported types are: float64, float32, float16, complex64, complex128, int64, int32, int16, int8, uint8, and bool.What should I do?