resnet_imagenet
v1.0.4
Published
[](https://summerofcode.withgoogle.com/organizations/6137730124218368/?sp-page=2#4558376158101504)   => {
const predictor = await ResNetPredictor.create();
const prediction = await predictor.classify(tabbyCatURI);
return prediction;
}To try the model you can just load it using:
ResNetURL = 'https://raw.githubusercontent.com/paulsp94/tfjs_resnet_imagenet/master/ResNet50/model.json';
const ResNet = await tf.loadLayersModel(ResNetURL);