python_code
stringlengths
0
679k
repo_name
stringlengths
9
41
file_path
stringlengths
6
149
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/callbacks/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/callbacks/model_ema_callback.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/callbacks/base_metric_callback.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/callbacks/auto_class_weighting_callback.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/callbacks/detection_metric_callback.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/dataset/__init__.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/dataset/label_map_util.py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # 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 applica...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/dataset/dataset_util.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/mlops/clearml.py
# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. """Routines for connecting with Weights and Biases client.""" from datetime import datetime import logging import os import wandb DEFAULT_WANDB_CONFIG = "~/.netrc" DEFAULT_TAGS = ["tao-toolkit", "training"] logger = logging.getLogger(__name__) _WA...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/mlops/wandb.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/mlops/__init__.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/models/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/models/backbones.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/model_file_processing.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/tlt_utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/export_utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/error_calculation.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/file_writing.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/kpi_visualization.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/prediction_visualization.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/serialization_listener.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/test_kpi_visualizer.py
import os from keras import backend as K from keras.layers import Concatenate, Conv2D, Dense, Flatten, Input from keras.models import Model from nvidia_tao_tf1.blocks.models import KerasModel import numpy as np from nvidia_tao_tf1.cv.common.utilities import tlt_utils class DummyModel(KerasModel): """Dummy mod...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/test_tlt_utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/test_error_calculation.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/json_utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/test_prediction_visualizer.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/utilities/path_processing.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/entrypoint/__init__.py
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved. """TLT command line wrapper to invoke CLI scripts.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse import importlib import logging import os import pkgutil import shlex ...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/entrypoint/entrypoint.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/model_parallelism/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/model_parallelism/parallelize_model.py
# Copyright 2019-2020 NVIDIA Corporation. All rights reserved. """Utility class for performing TensorRT image inference.""" import os import numpy as np from PIL import Image, ImageDraw from tqdm import tqdm from nvidia_tao_tf1.cv.makenet.utils.preprocess_input import preprocess_input class Inferencer(object): ...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/inferencer/inferencer.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/inferencer/__init__.py
# Copyright 2019-2020 NVIDIA Corporation. All rights reserved. """Helper functions for loading engine.""" import numpy as np import pycuda.autoinit # noqa pylint: disable=unused-import import pycuda.driver as cuda import tensorrt as trt class HostDeviceMem(object): """Simple helper data class that's a little ni...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/inferencer/engine.py
# Copyright 2019-2020 NVIDIA Corporation. All rights reserved. """Utility class for performing TensorRT image inference.""" import numpy as np import tensorrt as trt from nvidia_tao_tf1.cv.common.inferencer.engine import allocate_buffers, do_inference, load_engine # TensorRT logger singleton TRT_LOGGER = trt.Logger...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/inferencer/trt_inferencer.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/telemetry/nvml_utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/telemetry/__init__.py
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved. """Utilties to send data to the TAO Toolkit Telemetry Remote Service.""" import json import logging import os import shutil import subprocess import sys import tarfile import tempfile import urllib import requests import urllib3 from nvidia_tao_tf1...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/telemetry/telemetry.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/trt_utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/keras_exporter.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/base_calibrator.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/base_exporter.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/tensorfile.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/task_progress_monitor_hook.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/app.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/tensorfile_calibrator.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/export/tests/test_export_tools.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/logging/logging.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/logging/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/visualizer/base_visualizer.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/visualizer/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/visualizer/tensorboard_visualizer.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/common/visualizer/tests/test_visualizer.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/__init__.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/losses/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/losses/focal_loss.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/losses/tests/test_losses.py
"""RetinaNet entry point.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from maglev_sdk.docker_container.entrypoint import main if __name__ == '__main__': main('retinanet', 'nvidia_tao_tf1/cv/retinanet/scripts')
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/docker/retinanet.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/dataio/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/dataio/kitti_loader.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/dataio/coco_loader.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/dataio/tests/test_coco_dl.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/layers/__init__.py
''' A custom Keras layer to generate anchor boxes. Copyright (C) 2019 Pierluigi Ferrari 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 requir...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/layers/anchor_box_layer.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/layers/output_decoder_layer.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/layers/tests/test_output_decoder_layer.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: nvidia_tao_tf1/cv/retinanet/proto/retinanet_config.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from ...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/proto/retinanet_config_pb2.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/proto/__init__.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: nvidia_tao_tf1/cv/retinanet/proto/experiment.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/proto/experiment_pb2.py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: nvidia_tao_tf1/cv/retinanet/proto/eval_config.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from googl...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/proto/eval_config_pb2.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/builders/model_builder.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/builders/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/builders/input_builder.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/builders/eval_builder.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/builders/data_generator.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/builders/tests/test_model_builder.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/callbacks/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/callbacks/retinanet_metric_callback.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/callbacks/enc_model_saver.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/box_coder/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/box_coder/input_encoder.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/box_coder/input_encoder_tf.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/box_coder/tests/test_input_encoder.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/utils/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/utils/model_io.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/utils/helper.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/utils/spec_loader.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/utils/tests/test_spec_loader.py
"""IVA RetinaNet Feature Pyramid Generator.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import keras from keras.layers import Conv2D, ReLU, UpSampling2D from nvidia_tao_tf1.cv.common.models.backbones import get_backbone fpn_dict = {'vgg16': ('block...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/models/fpn.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/models/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/models/tests/test_fpn.py
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/architecture/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/architecture/retinanet.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/architecture/tests/test_retinanet.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/scripts/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/scripts/export.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # 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 appli...
tao_tensorflow1_backend-main
nvidia_tao_tf1/cv/retinanet/scripts/dataset_convert.py