Cant open par means you need to train the parameters.
Take away all the optimize stuff and it probably works.