Commit fd5cafe4 authored by Matt Harvey's avatar Matt Harvey
Browse files

Minor

Showing with 3 additions and 3 deletions
+3 -3
...@@ -37,8 +37,8 @@ def validate(data_type, model, seq_length=40, saved_model=None, ...@@ -37,8 +37,8 @@ def validate(data_type, model, seq_length=40, saved_model=None,
print(rm.model.metrics_names) print(rm.model.metrics_names)
def main(): def main():
model = 'mlp' model = 'lstm'
saved_model = 'data/ucf101/checkpoints/mlp-features.023-0.926.hdf5' saved_model = 'data/checkpoints/lstm-features.026-0.239.hdf5'
if model == 'conv_3d' or model == 'lrcn': if model == 'conv_3d' or model == 'lrcn':
data_type = 'images' data_type = 'images'
...@@ -48,7 +48,7 @@ def main(): ...@@ -48,7 +48,7 @@ def main():
image_shape = None image_shape = None
validate(data_type, model, saved_model=saved_model, validate(data_type, model, saved_model=saved_model,
image_shape=image_shape) image_shape=image_shape, class_limit=4)
if __name__ == '__main__': if __name__ == '__main__':
main() main()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment