Closed John-niu-07 closed 3 years ago
The condition 'h' is injected into each residual gated convolution layer of the autoregressive network. The corresponding code is with arg_scope([nn.gated_resnet], num_res_filters=nr_res_channel, nonlinearity=resnet_nonlinearity, dropout_p=dropout_p, num_head=nr_head, h=h)
in the '/net/structure_generator.py' (Line 75)
The condition 'h' is injected into each residual gated convolution layer of the autoregressive network. The corresponding code is
with arg_scope([nn.gated_resnet], num_res_filters=nr_res_channel, nonlinearity=resnet_nonlinearity, dropout_p=dropout_p, num_head=nr_head, h=h)
in the '/net/structure_generator.py' (Line 75)
many thanks :-)
How do you train the structure_generator? I see the code in file train_structure_generator.py, where the condition h is totally ignored.