Closed NiharikaVadlamudi closed 4 years ago
Hello! In renderer training, we used baseline/Renderer/stroke_gen.py for generating training data online. You can see baseline/train_renderer.py for details.
Another small query, while running stroke_gen.py file, with f = np.random.uniform(0,1,10) , I am basically getting an empty black image with no stroke . I seem to have double checked it , is there any issue with f value that I'm providing ? Also, why is the center (y,x) , any specific reason ?
Thank You
Hello, I think you should convert float32 to unint8 before visualizing. You can use cv2.imshow((gen * 255).astype('uint8')). The problem of coordinate order comes from the difference between numpy and cv2. When drawing with cv2, the order of coordinates is different.
Hello !
I want to understand the Neural renderer (DL network) part. How did you train this neural renderer? If there is a dataset, please provide a link for it. Have you used a traditional rendering algorithm in this case? (If so how ?)
Thank you