File size: 362 Bytes
9ac731e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# import the necessary packages
from tensorflow import keras

def loader(stem, trunk, attn):
	# load the models from disk
	conv_stem = keras.models.load_model(
		stem,
		compile=False
	)
	conv_trunk = keras.models.load_model(
		trunk,
		compile=False
	)
	conv_attn = keras.models.load_model(
		attn,
		compile=False
	)

	return (conv_stem, conv_trunk, conv_attn)