Module delta.subcommands

Subcommands called from the main delta executable.

Each subcommand contains a setup_parser function which sets up the ArgParser to handle itself, setting the appropriate main function and appropriate arguments for when the subcommand is called.

Expand source code
# Copyright © 2020, United States Government, as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All rights reserved.
#
# The DELTA (Deep Earth Learning, Tools, and Analysis) platform is
# licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#        http://www.apache.org/licenses/LICENSE-2.0.
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""
Subcommands called from the main `delta` executable.

Each subcommand contains a `setup_parser` function which
sets up the ArgParser to handle itself, setting the
appropriate main function and appropriate arguments for
when the subcommand is called.
"""

Sub-modules

delta.subcommands.classify

Classify input images given a model.

delta.subcommands.commands

Lists all avaiable commands.

delta.subcommands.main

Main delta command, calls subcommands.

delta.subcommands.mlflow_ui

Run the MLFlow UI to visualize the history of training runs.

delta.subcommands.train

Train a neural network.

delta.subcommands.validate

Check if the input data is valid.

delta.subcommands.visualize

Visualize the training data.