From 6c03a6edc8c43b17c6ee62080603ce0d4d7fd802 Mon Sep 17 00:00:00 2001 From: Victor Hall Date: Tue, 10 Jan 2023 21:09:23 -0500 Subject: [PATCH] Update TRAINING.md --- doc/TRAINING.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/TRAINING.md b/doc/TRAINING.md index 7e1b9c2..248d423 100644 --- a/doc/TRAINING.md +++ b/doc/TRAINING.md @@ -18,6 +18,8 @@ You can edit the example `train.json` file to your liking, then run the followin Be careful with editing the json file, as any syntax errors will cause the program to crash. You might want to use a json validator to check your file before running it. You can use an online validator such as https://jsonlint.com/ or look at it in VS Code. +One particular note is if your path to data_root or resume_ckpt has backslashes they need to use double \\ or single /. There is an example train.json in the repo root. + ## Running from the command line with arguments I recommend you copy one of the examples below and keep it in a text file for future reference. Your settings are logged in the logs folder, but you'll need to make a command to start training. @@ -80,4 +82,4 @@ Or use relative pathing: ```--resume_ckpt "logs\myproj20221213-161620\ckpts\myproj-ep22-gs01099" ^``` -You should point to the folder in the logs per above if you want to resume rather than running a conversion back on a 2.0GB or 2.5GB pruned file if possible. \ No newline at end of file +You should point to the folder in the logs per above if you want to resume rather than running a conversion back on a 2.0GB or 2.5GB pruned file if possible.