andy-wyx commited on
Commit
1c118fd
·
1 Parent(s): df27250

add compare resnet model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def get_model(model_name):
120
  embedding_units = 256,
121
  embedding_depth = 2,
122
  n_classes = n_classes)
123
- model.load_weights('model_classification/fossil-model.h5')
124
  elif model_name == 'Fossils':
125
  n_classes = 142
126
  model,_,_ = get_resnet_model('model_classification/fossil-model.h5')
 
120
  embedding_units = 256,
121
  embedding_depth = 2,
122
  n_classes = n_classes)
123
+ model.load_weights('model_classification/fossil-new.h5')
124
  elif model_name == 'Fossils':
125
  n_classes = 142
126
  model,_,_ = get_resnet_model('model_classification/fossil-model.h5')