This is an example of how to deploy a PyTorch model on GCP AI platform.
Download a pre-trained model and labels into models/
dir:
mkdir models/
import io | |
import xml.etree.ElementTree as ET | |
class BaseElement(ET.Element): | |
def __init__(self, tag, attrib={}, **extra): | |
super(BaseElement, self).__init__(tag, attrib=attrib, **extra) | |
self._parent = None | |
@property | |
def parent(self): |