public abstract class ZooModel<T> extends Object implements InstantiableModel
Modifier and Type | Field and Description |
---|---|
static File |
ROOT_CACHE_DIR |
Constructor and Description |
---|
ZooModel() |
Modifier and Type | Method and Description |
---|---|
Model |
initPretrained()
By default, will return a pretrained ImageNet if available.
|
Model |
initPretrained(PretrainedType pretrainedType)
Returns a pretrained model for the given dataset, if available.
|
boolean |
pretrainedAvailable(PretrainedType pretrainedType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, metaData, modelType, pretrainedChecksum, pretrainedUrl, setInputShape, zooType
public static File ROOT_CACHE_DIR
public boolean pretrainedAvailable(PretrainedType pretrainedType)
public Model initPretrained() throws IOException
IOException
public Model initPretrained(PretrainedType pretrainedType) throws IOException
pretrainedType
- IOException
Copyright © 2017. All rights reserved.