S3Gaussian
S3Gaussian copied to clipboard
TypeError: expected str, bytes or os.PathLike object, not NoneType
ChatGPT Hello, thank you for your excellent work! I encountered an issue while running my code. Have you encountered similar problems before?
` (S3Gaussian) czy@amax:~/3DGS/S3Gaussian$ python train.py -s /home/czy/3DGS/S3Gaussian/data/waymo/processed/training/114 --expname "waymo" --model_path /home/czy/3DGS/S3Gaussian/data/waymo/processed/training/114/output --configs "arguments/nvs.py"
...
Training progress: 60%|███████████████████████████████▏ | 30000/50000 [1:41:53<1:13:30, 4.53it/s, step=30000, Loss=0.0503969, psnr=24.76, dynamic point=478446, point=885833]
[ITER 30000] Saving Checkpoint [06/06 21:42:51]
Evaluating Test Set Pixels... [06/06 21:42:54]
/home/czy/3DGS/S3Gaussian/utils/video_utils.py:206: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
dx = torch.tensor(dx)
/home/czy/anaconda3/envs/S3Gaussian/lib/python3.9/site-packages/torchvision/models/_utils.py:135: UserWarning: Using 'weights' as positional parameter(s) is deprecated since 0.13 and may be removed in the future. Please use keyword parameter(s) instead.
warnings.warn(
/home/czy/anaconda3/envs/S3Gaussian/lib/python3.9/site-packages/torchvision/models/utils.py:223: UserWarning: Arguments other than a weight enum or None
for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing weights=AlexNet_Weights.IMAGENET1K_V1
. You can also use weights=AlexNet_Weights.DEFAULT
to get the most up-to-date weights.
warnings.warn(msg)
Downloading: "https://raw.githubusercontent.com/richzhang/PerceptualSimilarity/master/lpips/weights/v0.1/alex.pth" to /home/czy/.cache/torch/hub/checkpoints/alex.pth
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5.87k/5.87k [00:00<00:00, 2.95MB/s]
/home/czy/3DGS/S3Gaussian/utils/video_utils.py:221: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad(True), rather than torch.tensor(sourceTensor). | 0.00/5.87k [00:00<?, ?B/s]
lpipss.append(torch.tensor(lpips(rgb, gt_rgb,net_type='alex')).mean().item())
rendering full data: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 12/12 [00:18<00:00, 1.58s/it]
Eval over 12 images: [06/06 21:43:15]█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 12/12 [00:18<00:00, 1.25it/s]
PSNR: 22.9827 [06/06 21:43:15]
SSIM: 0.8580 [06/06 21:43:15]
LPIPS: 0.1811 [06/06 21:43:15]
Masked PSNR: 16.9044 [06/06 21:43:15]
Masked SSIM: 0.5869 [06/06 21:43:15]
Image evaluation metrics saved to /home/czy/3DGS/S3Gaussian/data/waymo/processed/training/114/output/eval/metrics/30000_images_test_2024-06-06_19-51-42.json [06/06 21:43:15]
Traceback (most recent call last):
File "/home/czy/3DGS/S3Gaussian/train.py", line 764, in