Spaces:
Runtime error
Runtime error
Update app.py
Browse files6 unmodified lines789101112136 unmodified linesprint(torch.__version__)# Load your PyTorch InceptionV3 model using torch.hub.loadmodel_path = "./path/to/hub/checkpoint" # Update with the correct pathmodel = torch.hub.load(model_path, 'checkpoint_name', map_location=torch.device('cpu'))model.eval()6 unmodified lines789101112136 unmodified linesprint(torch.__version__)# Load your PyTorch InceptionV3 model using torch.hub.loadmodel_path = "./inceptionv3_-saved-model-59-val_accuracy-0.94.hdf5" # Update with the correct pathmodel = torch.hub.load(model_path, 'checkpoint_name', map_location=torch.device('cpu'))model.eval()
app.py+1-1