Update 'tac_ssl_tag.py'
This commit is contained in:
parent
913e000336
commit
5634afcfcd
@ -318,6 +318,7 @@ if __name__ == "__main__":
|
|||||||
# Initialize optimizer
|
# Initialize optimizer
|
||||||
modules = list(model.vision_base_q.parameters()) + list(model.tactile_base_q.parameters()) + list(model.phi_vision_q.parameters()) + list(model.phi_tactile_q.parameters()) + \
|
modules = list(model.vision_base_q.parameters()) + list(model.tactile_base_q.parameters()) + list(model.phi_vision_q.parameters()) + list(model.phi_tactile_q.parameters()) + \
|
||||||
list(model.Phi_vision_q.parameters()) + list(model.Phi_tactile_q.parameters())
|
list(model.Phi_vision_q.parameters()) + list(model.Phi_tactile_q.parameters())
|
||||||
|
optimizer = optim.Adam(modules, lr=0.03)
|
||||||
classifier, criterion = None, None
|
classifier, criterion = None, None
|
||||||
else:
|
else:
|
||||||
# Initialize training
|
# Initialize training
|
||||||
|
Loading…
Reference in New Issue
Block a user