-i option
This option opens a saved model, regardless of the existence
of a checkpoint file.
You cannot use the -i
option with the -s
option.
A checkpoint file is automatically created when a model
is suspended due to a general system failure, such as that caused
by a power outage. The next time the model is opened in interactive mode,
users can open either the checkpoint file or the last-saved version
of the model file. In batch mode, you can use the -i
option
to bypass the prompt and force Transformer to open the original
model file instead of the checkpoint file.
The basic syntax for using the -i
option is
as follows:
cogtr -i -pfilename.py?
Note: Checkpoint files have a .qy? extension. As with
.py? files, the ? (question mark) in the extension is replaced by
the character that is used in your release of Transformer, such
as .qyj.
The following example opens the model file, Sales.py?, discarding any existing checkpoint file, then runs the process in batch mode to create all defined cubes:
cogtr -i Sales.py?