@staticmethod
	def load_model(json_file):
		with open(json_file, 'r') as f:
			object_specs = json.load(f)
		new_policy = CNNPolicy(object_specs['feature_list'])
		new_policy.model = model_from_json(object_specs['keras_model'])
		if 'weights_file' in object_specs:
			new_policy.model.load_weights(object_specs['weights_file'])
		new_policy.forward = new_policy._model_forward()
		return new_policy
Return the textual content of the element and its children
dataset/ETHPy150Open Rochester-NRT/RocAlphaGo/AlphaGo/models/policy.py/CNNPolicy.load_model--crossover with--dataset/ETHPy150Open jbrinley/HocrConverter/HocrConverter.py/HocrConverter._get_element_text