Skip to content
Snippets Groups Projects
Commit 6f3f3748 authored by Sun Jin Kim's avatar Sun Jin Kim
Browse files

fix main.train_cn

parent 620ddf58
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ class gru_learner(aa_learner): ...@@ -61,7 +61,7 @@ class gru_learner(aa_learner):
# GRU-specific attributes that aren't in all other aa_learners's # GRU-specific attributes that aren't in all other aa_learners's
alpha=0.2, alpha=0.2,
cont_mb_size=4, cont_mb_size=4,
cont_lr=0.1): cont_lr=0.03):
""" """
Args: Args:
alpha (float, optional): Exploration parameter. It is multiplied to alpha (float, optional): Exploration parameter. It is multiplied to
......
...@@ -51,6 +51,7 @@ def train_child_network(child_network, ...@@ -51,6 +51,7 @@ def train_child_network(child_network,
device = torch.device('cpu') device = torch.device('cpu')
child_network = child_network.to(device=device) child_network = child_network.to(device=device)
total_val=torch.tensor([0.0])
best_acc=torch.tensor([0.0]) best_acc=torch.tensor([0.0])
early_stop_cnt = 0 early_stop_cnt = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment