Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to construct my own dataset? #29

Open
KreBicycle opened this issue Aug 28, 2024 · 11 comments
Open

How to construct my own dataset? #29

KreBicycle opened this issue Aug 28, 2024 · 11 comments

Comments

@KreBicycle
Copy link

I construct my data according to readme, but terminal reported

rm: cannot remove '/opt/data/private/chy/data/data/input/database.db': No such file or directory
E0828 11:18:18.053977 308115 logging.cc:56] [option_manager.cc:811] Check failed: ExistsDir(*image_path)
E0828 11:18:18.054093 308115 option_manager.cc:877] Invalid options provided.
ERROR:root:Feature extraction failed with code 256. Exiting.

when executing command python scripts/preprocess/convert.py, what's wrong? Did I miss anything?

@danpeng2
Copy link
Contributor

Hi, could you show your folder structure?
I'm guessing you need to execute the following commands:
python scripts/preprocess/convert.py --data_path /opt/data/private/chy/data

@KreBicycle
Copy link
Author

I construct my folder just as in readme, the directory is /opt/data/private/chy/data/input/, and in it I put my images as png. BTW I discover that there is a new folder called sparse after I run convert.py.
And the terminal reported
rm: cannot remove '/opt/data/private/chy/data/render_pack/database.db': No such file or directory
E0829 11:44:37.822844 328852 logging.cc:56] [option_manager.cc:811] Check failed: ExistsDir(*image_path)
E0829 11:44:37.822942 328852 option_manager.cc:877] Invalid options provided.
ERROR:root:Feature extraction failed with code 256. Exiting.
after I run the command you provided.

@SongJiang-WHU
Copy link

I construct my data according to readme, but terminal reported

rm: cannot remove '/opt/data/private/chy/data/data/input/database.db': No such file or directory E0828 11:18:18.053977 308115 logging.cc:56] [option_manager.cc:811] Check failed: ExistsDir(*image_path) E0828 11:18:18.054093 308115 option_manager.cc:877] Invalid options provided. ERROR:root:Feature extraction failed with code 256. Exiting.

when executing command python scripts/preprocess/convert.py, what's wrong? Did I miss anything?

Hi, have you solved this problem yet? I'm having the same problem.

@yeying256
Copy link

I construct my data according to readme, but terminal reported

rm: cannot remove '/opt/data/private/chy/data/data/input/database.db': No such file or directory E0828 11:18:18.053977 308115 logging.cc:56] [option_manager.cc:811] Check failed: ExistsDir(*image_path) E0828 11:18:18.054093 308115 option_manager.cc:877] Invalid options provided. ERROR:root:Feature extraction failed with code 256. Exiting.

when executing command python scripts/preprocess/convert.py, what's wrong? Did I miss anything?

I'm having the same problem. I think this problem is about colmap can't run normal. But I can't solve this.

@yeying256
Copy link

Hi, could you show your folder structure? I'm guessing you need to execute the following commands: python scripts/preprocess/convert.py --data_path /opt/data/private/chy/data

I'm having the same problem. And the folder structure same as readme. I think this error happen in the first setp, and the colmap can't work partly. So the second step can't find some file.

@SongJiang-WHU
Copy link

SongJiang-WHU commented Sep 14, 2024 via email

@yeying256
Copy link

There was an error in the structure of my data file, which has now been resolved. Thank you.!

-----原始邮件----- 发件人:yeying256 @.> 发送时间:2024-09-14 14:55:25 (星期六) 收件人: zju3dv/PGSR @.> 抄送: "Song Jiang" @.>, Comment @.> 主题: Re: [zju3dv/PGSR] How to construct my own dataset? (Issue #29) I construct my data according to readme, but terminal reported rm: cannot remove '/opt/data/private/chy/data/data/input/database.db': No such file or directory E0828 11:18:18.053977 308115 logging.cc:56] [option_manager.cc:811] Check failed: ExistsDir(image_path) E0828 11:18:18.054093 308115 option_manager.cc:877] Invalid options provided. ERROR:root:Feature extraction failed with code 256. Exiting. when executing command python scripts/preprocess/convert.py, what's wrong? Did I miss anything? I'm having the same problem. I think this problem is about colmap can't run normal. But I can't solve this. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.**>

Hi, So what error?

@SongJiang-WHU
Copy link

SongJiang-WHU commented Sep 14, 2024 via email

@yeying256
Copy link

The structure of the dataset: ./data/data/your_dataset_name/ Running commands: ./data/data/

-----原始邮件----- 发件人:yeying256 @.> 发送时间:2024-09-14 15:30:35 (星期六) 收件人: zju3dv/PGSR @.> 抄送: "Song Jiang" @.>, Comment @.> 主题: Re: [zju3dv/PGSR] How to construct my own dataset? (Issue #29) There was an error in the structure of my data file, which has now been resolved. Thank you.! … -----原始邮件----- 发件人:yeying256 @.> 发送时间:2024-09-14 14:55:25 (星期六) 收件人: zju3dv/PGSR @.> 抄送: "Song Jiang" @.>, Comment @.> 主题: Re: [zju3dv/PGSR] How to construct my own dataset? (Issue #29) I construct my data according to readme, but terminal reported rm: cannot remove '/opt/data/private/chy/data/data/input/database.db': No such file or directory E0828 11:18:18.053977 308115 logging.cc:56] [option_manager.cc:811] Check failed: ExistsDir(image_path) E0828 11:18:18.054093 308115 option_manager.cc:877] Invalid options provided. ERROR:root:Feature extraction failed with code 256. Exiting. when executing command python scripts/preprocess/convert.py, what's wrong? Did I miss anything? I'm having the same problem. I think this problem is about colmap can't run normal. But I can't solve this. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Hi, So what error? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.*>

Thank you very much for your reply!!! And your data only have rgb imags? Don't have other data?

@SongJiang-WHU
Copy link

SongJiang-WHU commented Sep 14, 2024 via email

@yeying256
Copy link

yes

-----原始邮件----- 发件人:yeying256 @.> 发送时间:2024-09-14 16:07:38 (星期六) 收件人: zju3dv/PGSR @.> 抄送: "Song Jiang" @.>, Comment @.> 主题: Re: [zju3dv/PGSR] How to construct my own dataset? (Issue #29) The structure of the dataset: ./data/data/your_dataset_name/ Running commands: ./data/data/ … -----原始邮件----- 发件人:yeying256 @.> 发送时间:2024-09-14 15:30:35 (星期六) 收件人: zju3dv/PGSR @.> 抄送: "Song Jiang" @.>, Comment @.> 主题: Re: [zju3dv/PGSR] How to construct my own dataset? (Issue #29) There was an error in the structure of my data file, which has now been resolved. Thank you.! … -----原始邮件----- 发件人:yeying256 @.> 发送时间:2024-09-14 14:55:25 (星期六) 收件人: zju3dv/PGSR @.> 抄送: "Song Jiang" @.>, Comment @.> 主题: Re: [zju3dv/PGSR] How to construct my own dataset? (Issue #29) I construct my data according to readme, but terminal reported rm: cannot remove '/opt/data/private/chy/data/data/input/database.db': No such file or directory E0828 11:18:18.053977 308115 logging.cc:56] [option_manager.cc:811] Check failed: ExistsDir(image_path) E0828 11:18:18.054093 308115 option_manager.cc:877] Invalid options provided. ERROR:root:Feature extraction failed with code 256. Exiting. when executing command python scripts/preprocess/convert.py, what's wrong? Did I miss anything? I'm having the same problem. I think this problem is about colmap can't run normal. But I can't solve this. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Hi, So what error? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> Thank you very much for your reply!!! And your data only have rgb imags? Don't have other data? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.**>

I'm sorry to bother you, can you help me for my issue, I still have some error.

#39 (comment)

I meet this problem when I use the custom dataset structure and run the second step 'python train.py -s data_path -m out_path --max_abs_split_points 0 --opacity_cull_threshold 0.05' .

In the first step 'python scripts/preprocess/convert.py --data_path your_data_path', I change the 'your_data_path' to '/media/a1/ubuntu_data/PGSR_data/data/ours/data'. It seems run normal. When the step 1 is over, some file appeared in .../ours/data. So I run 'python train.py -s /media/a1/ubuntu_data/PGSR_data/data/ours/data/ -m /home/a1/6dpose/PGSR/ours_out/ --max_abs_split_points 0 --opacity_cull_threshold 0.05', the error happened and folder 'ours_out' appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants