Open allenazz opened 3 months ago
You can replace the optimizer in train.py,use Adam. such as optimizer =optim.adam.Adam(model.parameters(), lr=learning_rate, weight_decay=weight_decay)
optimizer =optim.adam.Adam(model.parameters(), lr=learning_rate, weight_decay=weight_decay)
You can replace the optimizer in train.py,use Adam. such as
optimizer =optim.adam.Adam(model.parameters(), lr=learning_rate, weight_decay=weight_decay)