shubham-goel/ucmr

Benchmark results visualization

alexj94 opened this issue · 1 comments

Hi,
I have a question about the visualization rendering of the benchmark results. I tested correctly your model using the "benchmark.py" script with the released pretrained weights both for CUB birds and PASCAL car class. Since I'm trying to reproduce also the textured results of your network, I noticed that you use NMR as the visualization renderer and SoftRas as the prediction one in the network. Is this procedure the same you used for generating the results of your ECCV2020 paper?
Just to give you a reference to the code I'm talking about the function render at:

def render(self, outputs, batch, num_angles=6, euler_angles=[60, 90, 0], rot_axis=[0,-1,1.7], extra_elev=False):

in which you use the vis_rend variable defined at
self.vis_rend = bird_vis.VisRendererBatch(opts.img_size, self.faces.cpu().numpy(), perspective=opts.perspective)

Thanks in advance for your response.

Hi @alexj94 . That's right, I used SoftRas for training but NMR for generating visualizations in the paper because the images looked better. It also let me reuse a lot of code from CMR. Let me know if you have any more questions!