Class

org.platanios.tensorflow.data.models

ObjectDetectionModelLoader

Related Doc: package models

Permalink

class ObjectDetectionModelLoader extends Loader

Loader for object detection models compatible with the TensorFlow object detection API.

The loader first looks if a model with the given name exists locally, enabling to use of custom models. If no model is found locally, the loader tries to download it from the TensorFlow detection model zoo.

See https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md for details about the models available.

Currently, it only supports loading the frozen inference graph for doing predictions.

Linear Supertypes
Loader, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ObjectDetectionModelLoader
  2. Loader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ObjectDetectionModelLoader(modelName: String)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val baseUrl: String

    Permalink
    Attributes
    protected
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val compressedFilename: String

    Permalink
    Attributes
    protected
  8. def download(path: Path, url: String, bufferSize: Int = 8192): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Loader
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. val googleDriveConfirmTokenRegex: Regex

    Permalink
    Attributes
    protected
    Definition Classes
    Loader
  14. val graphFilename: String

    Permalink
    Attributes
    protected
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def load(path: Path, bufferSize: Int = 8192): ObjectDetectionModel

    Permalink

    Loads a serialized object detection model.

    Loads a serialized object detection model. Tries to download the model if not found locally.

    path

    Path where the model is stored.

  18. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    ObjectDetectionModelLoaderLoader
  19. def maybeDownload(path: Path, url: String, bufferSize: Int = 8192): Boolean

    Permalink
    Definition Classes
    Loader
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Loader

Inherited from AnyRef

Inherited from Any

Ungrouped