Adding action network
This commit is contained in:
parent
13765c2f9e
commit
4e1ef89924
@ -48,6 +48,7 @@ def parse_args():
|
||||
parser.add_argument('--state_size', default=256, type=int)
|
||||
parser.add_argument('--hidden_size', default=128, type=int)
|
||||
parser.add_argument('--history_size', default=128, type=int)
|
||||
parser.add_argument('--num-units', type=int, default=200, help='num hidden units for reward/value/discount models')
|
||||
parser.add_argument('--load_encoder', default=None, type=str)
|
||||
parser.add_argument('--imagination_horizon', default=15, type=str)
|
||||
# eval
|
||||
@ -258,7 +259,7 @@ class DPI:
|
||||
self.actions, self.history, i)
|
||||
|
||||
|
||||
|
||||
print(past_encoder_loss, past_latent_loss)
|
||||
|
||||
previous_information_loss = past_latent_loss
|
||||
previous_encoder_loss = past_encoder_loss
|
||||
|
Loading…
Reference in New Issue
Block a user