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 run with own data? #10

Closed
ghost opened this issue Apr 22, 2021 · 4 comments
Closed

How to run with own data? #10

ghost opened this issue Apr 22, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 22, 2021

Hi and thank you for the release,
I succesfully installed it and prepared a dataset with data/create_data_own.py
When I run the pretrained network as python3 exp.py --net resunet3.16_penone.dirs.avg.seq+9+1+unet+5+2+16.single+mlpdir+mean+3+64+16 --cmd eval --iter last --eval-dsets mydataset
The script silently exits after these messages

[2021-04-22/15:51/INFO/modules] [NET][EncNet] resunet3.16
[2021-04-22/15:51/INFO/modules] [NET][RefNet] point_edges_mode=penone
[2021-04-22/15:51/INFO/modules] [NET][RefNet] point_aux_data=dirs
[2021-04-22/15:51/INFO/modules] [NET][RefNet] point_avg_mode=avg
[2021-04-22/15:51/INFO/modules] [NET][RefNet] Seq 9 nets, nets_residual=True
[2021-04-22/15:51/INFO/modules] [NET][RefNet]   Unet(in_channels=16, enc_channels=[16, 32, 64, 128, 128], dec_channels=[128, 64, 32, 16], n_conv=2)
[2021-04-22/15:51/INFO/modules] [NET][RefNet]   Unet(in_channels=16, enc_channels=[16, 32, 64, 128, 128], dec_channels=[128, 64, 32, 16], n_conv=2)
[2021-04-22/15:51/INFO/modules] [NET][RefNet]   Unet(in_channels=16, enc_channels=[16, 32, 64, 128, 128], dec_channels=[128, 64, 32, 16], n_conv=2)
[2021-04-22/15:51/INFO/modules] [NET][RefNet]   Unet(in_channels=16, enc_channels=[16, 32, 64, 128, 128], dec_channels=[128, 64, 32, 16], n_conv=2)
[2021-04-22/15:51/INFO/modules] [NET][RefNet]   Unet(in_channels=16, enc_channels=[16, 32, 64, 128, 128], dec_channels=[128, 64, 32, 16], n_conv=2)
[2021-04-22/15:51/INFO/modules] [NET][RefNet]   Unet(in_channels=16, enc_channels=[16, 32, 64, 128, 128], dec_channels=[128, 64, 32, 16], n_conv=2)
[2021-04-22/15:51/INFO/modules] [NET][RefNet]   Unet(in_channels=16, enc_channels=[16, 32, 64, 128, 128], dec_channels=[128, 64, 32, 16], n_conv=2)
[2021-04-22/15:51/INFO/modules] [NET][RefNet]   Unet(in_channels=16, enc_channels=[16, 32, 64, 128, 128], dec_channels=[128, 64, 32, 16], n_conv=2)
[2021-04-22/15:51/INFO/modules] [NET][RefNet]   Unet(in_channels=16, enc_channels=[16, 32, 64, 128, 128], dec_channels=[128, 64, 32, 16], n_conv=2)
[2021-04-22/15:51/INFO/modules] [NET][RefNet] Single gnn
[2021-04-22/15:51/INFO/modules] [NET][RefNet]   MLPDir(in_channels=16, hidden_channels=64, n_mods=3, out_channels=16, aggr=mean)
[2021-04-22/15:51/INFO/modules] [NET][RefNet] out_conv(16, 3)
[2021-04-22/15:51/INFO/mytorch] [EVAL] loading net for iter last: experiments/tat-wo-val_bs1_nbs3_rpointdir_s0.25_resunet3.16_penone.dirs.avg.seq+9+1+unet+5+2+16.single+mlpdir+mean+3+64+16_vgg/net_0000000000000000.params

Seems like it doesnt find my dataset. Any advice?

@ghost ghost closed this as completed Apr 22, 2021
@ptc-lexvandersluijs
Copy link

Hi @vuoriov4, great to see that you were able to prepare your own dataset!

From my side, I have to admit that I'm a bit of a n00b what Python is concerned. Would you be willing to write a short description of what you did to go from a COLMAP result to NVS images using SVS? I would appreciate it greatly!

@ghost
Copy link
Author

ghost commented Jul 1, 2021

Hi @vuoriov4, great to see that you were able to prepare your own dataset!

From my side, I have to admit that I'm a bit of a n00b what Python is concerned. Would you be willing to write a short description of what you did to go from a COLMAP result to NVS images using SVS? I would appreciate it greatly!

Hey. Have you looked at data/create_data_own.py? I had to modify alot of things though, because they are hardcoded to use the benchmark datasets. Overall this repo is not very friendly for custom datasets. Not sure why you are interested in SVS, you may want to look at IBR-Net which is more recent and better documentation.

@ptc-lexvandersluijs
Copy link

Well, an important reason is that SVS should be very fast: 1 second to generate a novel view, and (like IBRNet) no training time for individual datasets, just some pre-processing of the images that only needs to be done once.
From what I read, IBRNet takes somewhere from 30 seconds to a minute to generate an image. Whereas with a runtime of one second, I may be able to apply the technology in a practical use-case.

@alex04072000
Copy link

alex04072000 commented Aug 6, 2021

Hi @vuoriov4 and @ptc-lexvandersluijs
Did you solve the issue?
I am facing the same problem.
There is no script for generating delaunay_photometric.ply in create_data_own.py.
It seems the data preparation process is still a mystery...

This issue was closed.
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

2 participants