chensjtu / GaussianObject

GaussianObject: High-Quality 3D Object Reconstruction from Four Views with Gaussian Splatting (SIGGRAPH Asia 2024, TOG)
919 stars 57 forks source link

TypeError: No loop matching the specified signature and casting was found for ufunc greater #64

Open 2927803072 opened 2 weeks ago

2927803072 commented 2 weeks ago

Traceback (most recent call last): File "train_gs.py", line 354, in training(args, lp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, File "train_gs.py", line 132, in training training_report(tb_writer, iteration, Ll1, loss, l1_loss, iter_start.elapsed_time(iter_end), testing_iterations, scene, render, (pipe, background)) File "train_gs.py", line 239, in training_report tb_writer.add_histogram("scene/opacity_histogram", scene.gaussians.get_opacity, iteration) File "/root/anaconda3/envs/gs/lib/python3.8/site-packages/torch/utils/tensorboard/writer.py", line 484, in add_histogram histogram(tag, values, bins, max_bins=max_bins), global_step, walltime File "/root/anaconda3/envs/gs/lib/python3.8/site-packages/torch/utils/tensorboard/summary.py", line 352, in histogram hist = make_histogram(values.astype(float), bins, max_bins) File "/root/anaconda3/envs/gs/lib/python3.8/site-packages/torch/utils/tensorboard/summary.py", line 380, in make_histogram cum_counts = np.cumsum(np.greater(counts, 0, dtype=np.int32)) TypeError: No loop matching the specified signature and casting was found for ufunc greater

dear author,do you konw this issue