이어하기 수정 #102
@@ -207,7 +207,9 @@ public class TrainJobService {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
String ckptFile = Files.readString(last).trim(); // epoch_10.pth
|
String ckptFile = Files.readString(last).trim(); // epoch_10.pth
|
||||||
|
ckptFile = ckptFile.replace("/checkpoints", responseDir);
|
||||||
log.info("resume ckptFile: {}", ckptFile);
|
log.info("resume ckptFile: {}", ckptFile);
|
||||||
|
|
||||||
if (ckptFile.isEmpty()) return null;
|
if (ckptFile.isEmpty()) return null;
|
||||||
|
|
||||||
Path ckptHost = outDir.resolve(ckptFile);
|
Path ckptHost = outDir.resolve(ckptFile);
|
||||||
|
|||||||
Reference in New Issue
Block a user