Closed innat closed 11 months ago
mogrify is a command that will resize images, it looks like you don't have it installed, so images_2 isn't being made.
Thanks. I installed it as follows
!sudo apt install imagemagick
# and check
!convert --version
Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype
heic jbig jng jp2 jpeg lcms lqr ltdl lzma
openexr pangocairo png tiff webp wmf x xml zlib
And now, when I run the colmap using bash scripts/local_colmap_and_resize.sh
, it ends something like as follows. Plus, I also had to comment out this line to make it run.
My folder fomats are as follows. Here, sparse
folder is empty. Is it Ok? and what about the database.db representing?
multinerf
- dataset
- - images # [contains image files]
- - images_2 # [contains image files]
- - images_4 # [contains image files]
- - images_8 # [contains image files]
- - sparse
- - database.db
- config
- internal
- scripts
- test
train.py
requirements.txt
...
Should it be like this? Because, when I try to run train.py
DATA_DIR='/home/jupyter/work/nerf/multinerf/dataset'
python -m train \
--gin_configs=configs/360.gin \
--gin_bindings="Config.data_dir = '${DATA_DIR}'" \
--gin_bindings="Config.checkpoint_dir = '${DATA_DIR}/checkpoints'" \
--logtostderr
FileNotFoundError: [Errno 2] No such file or directory:
'/home/jupyter/work/nerf/multinerf/dataset/transforms.json'
I have the same problem!
I know the crux of the problem. The directory DATA_DIR should be only the directory name.
I'm trying to test multi-nerf. I am using GCP instance to set up working environments. As mentioned, I place some image in the following directory
dataset / images / ...
.Then to generate camera poses, I run the following command.
But after some progress, I got