Open ghost opened 5 years ago
If you need images for comparison for a submission, (or just want to try out with a few images), please send those images to me (tranluan@msu.edu). We can't release the pretrained model at the moment.
If you need images for comparison for a submission, (or just want to try out with a few images), please send those images to me (tranluan@msu.edu). We can't release the pretrained model at the moment.
I have trained the model by myself, could please share the test code?
@welbeckzhou Hello, do you know how to test code now?
@welbeckzhou Hello, I wonder how to train with the loss L, which contains the adversarial loss?
def test(self, config,input_images_fn_300W,input_masks_fn_300W):
tx = np.random.random_integers(0, 32, size=config.batch_size)
ty = np.random.random_integers(0, 32, size=config.batch_size)
tf.global_variables_initializer().run()
ffeed_dict = {self.input_images_fn_300W[0] : input_images_fn_300W,self.input_offset_height: tx, self.input_offset_width: ty,\
self.input_masks_fn_300W[0]:input_masks_fn_300W}
img , texture,albedo,shade = self.sess.run([self.G_images_300W,self.texture_300W,self.albedo_300W, self.shade_300W], feed_dict=ffeed_dict)
print(img , texture )
return img , texture,albedo,shade
This is code i use to test model
Hi,
@tranluan I want to test out the model on some images and see the results (3D mesh, rendered image....)
How can I try ?