class_docstr: Base class for all submissions.
docstr: Initializes instance of Submission class.
  
  Args:
    directory: location of the submission.
    container: URL of Docker container which should be used to run submission.
    entry_point: entry point script, which invokes submission.
    use_gpu: whether to use Docker with GPU or not.
docstr_tok: ["Initializes","instance","of","Submission","class",".","Args",":","directory",":","location","of","the","submission",".","container",":","URL","of","Docker","container","which","should","be","used","to","run","submission",".","entry_point",":","entry","point","script",",","which","invokes","submission",".","use_gpu",":","whether","to","use","Docker","with","GPU","or","not","."]
code: def __init__(self, directory, container, entry_point, use_gpu):
      """Initializes instance of Submission class.
  
      Args:
        directory: location of the submission.
        container: URL of Docker container which should be used to run submission.
        entry_point: entry point script, which invokes submission.
        use_gpu: whether to use Docker with GPU or not.
      """
      self.name = os.path.basename(directory)
      self.directory = directory
      self.container = container
      self.entry_point = entry_point
      self.use_gpu = use_gpu
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import csv
  import json
  import os
  import subprocess
  import numpy
  from PIL import Image
label_desc: Use image node_id 1 to create a new Submission object from inherited base classes: object with example: obj = Submission(directory, container, entry_point, use_gpu)