Last active
August 9, 2018 09:47
-
-
Save sdcubber/47af0fbb26f23d6fce252fd72ce088da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| model = tf.keras.Model(inputs=image_input, outputs=[weather_output, ground_output]) | |
| model.compile(optimizer='adam', | |
| loss={'weather': 'categorical_crossentropy', | |
| 'ground': 'binary_crossentropy'}) | |
| history = model.fit(ds_train, | |
| steps_per_epoch=100, # let's take just a couple of steps | |
| epochs=1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment