def load_model_weight_predict(self, model_name, input_shape, network_depth, X_test):
        '''
        load the saved weights to make predictions
        '''
        model = self.deviation_network(input_shape, network_depth)
        model.load_weights(model_name)
        scoring_network = Model(inputs=model.input, outputs=model.output)

        scores = scoring_network.predict(X_test)

        return scores

        load the saved weights to make predictions
        
adbench/baseline/DevNet/run.py