要跑很多次
Some checks failed
/ job1 (push) Failing after 35m55s

This commit is contained in:
kemna 2024-10-26 09:17:40 +08:00
parent 7a9fbc48ef
commit 7fdb346762

View File

@ -68,7 +68,7 @@ net = Net().to(device)
lossF = torch.nn.CrossEntropyLoss()
optimizer = torch.optim.Adam(net.parameters())
#循环训练
Epochs=2048
Epochs=100
for epochs in range(0,Epochs):
#训练内容
processBar = tqdm(TrainDataLoader,unit = 'step')