google-research / multinerf

A Code Release for Mip-NeRF 360, Ref-NeRF, and RawNeRF
Apache License 2.0
3.57k stars 338 forks source link

Errors when running local_colmap_and_resize on windows 11 #76

Open NcMasters opened 1 year ago

NcMasters commented 1 year ago

I'm getting errors when running local_colmap_and_resize.sh Something with xargs: mogrify Do I need to install xargs/mogrify?

(multinerf) C:\Users\OneDrive\Skrivebord\multinerf-main>bash scripts/local_colmap_and_resize.sh C:/Users//OneDrive/Skrivebord/multinerf-main/dataset scripts/local_colmap_and_resize.sh: line 29: colmap: command not found scripts/local_colmap_and_resize.sh: line 39: colmap: command not found scripts/local_colmap_and_resize.sh: line 58: colmap: command not found ~/OneDrive/Skrivebord/multinerf-main/dataset/images_2 ~/OneDrive/Skrivebord/multinerf-main xargs: mogrify: No such file or directory ~/OneDrive/Skrivebord/multinerf-main ~/OneDrive/Skrivebord/multinerf-main/dataset/images_4 ~/OneDrive/Skrivebord/multinerf-main xargs: mogrify: No such file or directory ~/OneDrive/Skrivebord/multinerf-main ~/OneDrive/Skrivebord/multinerf-main/dataset/images_8 ~/OneDrive/Skrivebord/multinerf-main xargs: mogrify: No such file or directory ~/OneDrive/Skrivebord/multinerf-main

chinnarouge commented 1 year ago

update colmap library, i had the same issue ,but its solved now by updating

jiangye-git commented 12 months ago

Did you resolve your errors? I encountered the same error but had no idea how to fix it in Linux

scripts/local_colmap_and_resize.sh: line 29: colmap: command not found scripts/local_colmap_and_resize.sh: line 39: colmap: command not found scripts/local_colmap_and_resize.sh: line 58: colmap: command not found cp: cannot stat ‘my_dataset_dir/images’: No such file or directory scripts/local_colmap_and_resize.sh: line 79: pushd: my_dataset_dir/images_2: No such file or directory xargs: mogrify: No such file or directory scripts/local_colmap_and_resize.sh: line 81: popd: directory stack empty cp: cannot stat ‘my_dataset_dir/images’: No such file or directory scripts/local_colmap_and_resize.sh: line 85: pushd: my_dataset_dir/images_4: No such file or directory xargs: mogrify: No such file or directory scripts/local_colmap_and_resize.sh: line 87: popd: directory stack empty cp: cannot stat ‘my_dataset_dir/images’: No such file or directory scripts/local_colmap_and_resize.sh: line 91: pushd: my_dataset_dir/images_8: No such file or directory xargs: mogrify: No such file or directory scripts/local_colmap_and_resize.sh: line 93: popd: directory stack empty

NcMasters commented 12 months ago

Did you resolve your errors? I encountered the same error but had no idea how to fix it in Linux

scripts/local_colmap_and_resize.sh: line 29: colmap: command not found scripts/local_colmap_and_resize.sh: line 39: colmap: command not found scripts/local_colmap_and_resize.sh: line 58: colmap: command not found cp: cannot stat ‘my_dataset_dir/images’: No such file or directory scripts/local_colmap_and_resize.sh: line 79: pushd: my_dataset_dir/images_2: No such file or directory xargs: mogrify: No such file or directory scripts/local_colmap_and_resize.sh: line 81: popd: directory stack empty cp: cannot stat ‘my_dataset_dir/images’: No such file or directory scripts/local_colmap_and_resize.sh: line 85: pushd: my_dataset_dir/images_4: No such file or directory xargs: mogrify: No such file or directory scripts/local_colmap_and_resize.sh: line 87: popd: directory stack empty cp: cannot stat ‘my_dataset_dir/images’: No such file or directory scripts/local_colmap_and_resize.sh: line 91: pushd: my_dataset_dir/images_8: No such file or directory xargs: mogrify: No such file or directory scripts/local_colmap_and_resize.sh: line 93: popd: directory stack empty

Sadly not, but I am also not the most technically experienced with this.

jiangye-git commented 11 months ago

Did you resolve your errors? I encountered the same error but had no idea how to fix it in Linux scripts/local_colmap_and_resize.sh: line 29: colmap: command not found scripts/local_colmap_and_resize.sh: line 39: colmap: command not found scripts/local_colmap_and_resize.sh: line 58: colmap: command not found cp: cannot stat ‘my_dataset_dir/images’: No such file or directory scripts/local_colmap_and_resize.sh: line 79: pushd: my_dataset_dir/images_2: No such file or directory xargs: mogrify: No such file or directory scripts/local_colmap_and_resize.sh: line 81: popd: directory stack empty cp: cannot stat ‘my_dataset_dir/images’: No such file or directory scripts/local_colmap_and_resize.sh: line 85: pushd: my_dataset_dir/images_4: No such file or directory xargs: mogrify: No such file or directory scripts/local_colmap_and_resize.sh: line 87: popd: directory stack empty cp: cannot stat ‘my_dataset_dir/images’: No such file or directory scripts/local_colmap_and_resize.sh: line 91: pushd: my_dataset_dir/images_8: No such file or directory xargs: mogrify: No such file or directory scripts/local_colmap_and_resize.sh: line 93: popd: directory stack empty

Sadly not, but I am also not the most technically experienced with this.

Thanks for your reply!!!! I really don't know what to do next.

Fanjunyi55 commented 3 months ago

有友友解决这个问题了吗?我也出现了