I see you are using fx_ versions of the commands, which are usually meant to be used by the GUI (if i’m not mistaken).
@David_Tschumperle has issued a warning about this :
Them being GUI filters means you will (sometimes) have to use some extra parameters which may be relevant in the GUI but may not be useful in your script.
If you wish, you can hunt for the CLI versions of the commands here ,or here if it’s a community command.
I see at least 4 CLI commands:
scale2x scale2x_cnn scale3x scale_dcci2x
BUT in the case of fx_scale2x_cnn there is the option to update the neural network that doesn’t exist in the CLI version, so the fx_ version might be useful.
Maybe it could be added in the CLI version too?
Anyway, sorry if this doesn’t help you solving your problem in any way!