Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
from adversarial_vision_challenge import model_server | |
from model import create_fmodel | |
if __name__ == '__main__': | |
''' | |
Load your own model here. | |
This file contains 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
import numpy as np | |
from keras.models import load_model | |
from keras.applications.resnet50 import preprocess_input | |
def channel_axis(self): | |
return 3 | |
def predictions(self, image): |