banmo
banmo copied to clipboard
technical problem
Hello! I'm having some problems reproducing the thesis work: Example: Motion retargeting
Traceback (most recent call last):
File "preprocess/img2lines.py", line 111, in
**opts_dict={} in "./nnutils/train_utils.py" seems to require adding paths manually
When I modify the path, the following error occurs**
Traceback (most recent call last):
File "preprocess/img2lines.py", line 111, in
How should the path be modified?
Thank you very much for your reply. I have downloaded pre-processed data via script before. But still there will be "AssertionError: datasets should not be an empty iterable"
This error suggests the config file is not found: https://github.com/facebookresearch/banmo/blob/b9dab8084907197d7a7ede45f6fc7202736bf9be/utils/io.py#L305-L310
Can you make sure the following?
- running
echo $seqname
in the terminal returnscat-pikachiu-sub
. If it does not, you can directly runpython preprocess/img2lines.py --seqname cat-pikachiu-sub
- file
configs/cat-pikachiu-sub.config
exists
Thank you very much for your patience, I understand what the problem is. grateful!
Hi,
I'm having the same problem reproducing the thesis work, but I can't figure out the problem. When I run python preprocess/img2lines.py --seqname $seqname
, It will be AssertionError: datasets should not be an empty iterable
. I have already downloaded pre-processed data via script before and it's in the database/DAVIS/... folder. The $seqname is also right.
Could you tell me how to solve it? Thank you very much!
Oh I figure out why.
Actually I download raw videos and pre-process raw videos into banmo format, following the instructions herehttps://github.com/facebookresearch/banmo/tree/main/preprocess. Then the dataset is like:
DAVIS/ JPEGImages/ Full-Resolution/ cat_pikachiu001/ {%05d}.jpg
However, my config/cat-pikachiu.config is like :
[data_1] ks = 1920 1920 540 960 datapath = database/DAVIS/JPEGImages/Full-Resolution/cat-pikachiu01/
a zero is missed after cat-pikachiu TT