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/detectnet_v2/dataio/tests/test_kitti_converter_lib.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/detectnet_v2/dataio/tests/test_sample_modifier.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/detectnet_v2/dataio/tests/test_export.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/optimizer_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
fr... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/optimizer_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/objective_label_filter.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 _mess... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/objective_label_filter_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/adam_optimizer_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 _messa... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/adam_optimizer_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/training_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
fro... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/training_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/cost_scaling_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... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/cost_scaling_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/early_stopping_annealing_schedule_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 impor... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/early_stopping_annealing_schedule_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/regularizer_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
... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/regularizer_config_pb2.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Defining protocol buffers for different components of GB."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
| tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/__init__.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/augmentation_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... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/augmentation_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/coco_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 go... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/coco_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/postprocessing_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 _messa... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/postprocessing_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/visualizer_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
f... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/visualizer_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/learning_rate_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 _messag... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/learning_rate_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/inference.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 goog... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/inference_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/bbox_rasterizer_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 _mess... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/bbox_rasterizer_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/soft_start_annealing_schedule_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 me... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/soft_start_annealing_schedule_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/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 goo... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/experiment_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/label_filter.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 g... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/label_filter_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/kitti_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 g... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/kitti_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/evaluation_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
f... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/evaluation_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/dataset_export_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 _messa... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/dataset_export_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/inferencer_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
f... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/inferencer_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/cost_function_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 _messag... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/cost_function_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/model_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 g... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/proto/model_config_pb2.py |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: nvidia_tao_tf1/cv/detectnet_v2/proto/dataset_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/detectnet_v2/proto/dataset_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/detectnet_v2/cost_function/cost_functions.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/detectnet_v2/cost_function/cost_auto_weight_hook.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Defines functions and classes handling gridbox cost functions."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
| tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/cost_function/__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/detectnet_v2/cost_function/cost_function_parameters.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/detectnet_v2/cost_function/tests/test_cost_function.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/detectnet_v2/training/training_proto_utilities.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/detectnet_v2/training/__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/detectnet_v2/training/train_op_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/detectnet_v2/training/utilities.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/detectnet_v2/training/tests/test_training_proto_utilities.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/detectnet_v2/postprocessor/detection.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Confidence config class that holds parameters for postprocessing confidence."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from nvidia_tao_tf1.cv.detectnet_v2.proto.postprocessing_... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/postprocessor/confidence_config.py |
# Copyright (c) 2017 - 2019, NVIDIA CORPORATION. All rights reserved.
"""Post processing handler for TLT gridbox models."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
| tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/postprocessor/__init__.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""PostProcessingConfig class that holds postprocessing parameters."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import six
from nvidia_tao_tf1.cv.detectnet_v2.postprocessor.clusteri... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/postprocessor/postprocessing_config.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/detectnet_v2/postprocessor/cluster.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Clustering config class that holds parameters for clustering detections."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from nvidia_tao_tf1.cv.detectnet_v2.proto.postprocessing_conf... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/postprocessor/clustering_config.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/detectnet_v2/postprocessor/postprocessing.py |
# Copyright (c) 2017 - 2019, NVIDIA CORPORATION. All rights reserved.
"""Utilities file containing helper functions to post process raw predictions."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import logging
import numpy as np
from sklearn.cluster ... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/postprocessor/utilities.py |
# Copyright (c) 2017 - 2019, NVIDIA CORPORATION. All rights reserved.
"""Post processing handler for TLT DetectNet_v2 models."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from contextlib import contextmanager
from copy import deepcopy
from functools ... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/postprocessor/bbox_handler.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/detectnet_v2/postprocessor/tests/test_postprocessing.py |
"""Tests for bbox clustering using nms."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import csv
import os
from google.protobuf.text_format import Merge as merge_text_proto
import numpy as np
import pytest
from nvidia_tao_tf1.cv.detectnet_v2.postproc... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/postprocessor/tests/test_hybrid_clustering.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/detectnet_v2/postprocessor/tests/test_build_clustering_config.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/detectnet_v2/postprocessor/tests/test_build_postprocessing_config.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/detectnet_v2/postprocessor/tests/test_nms_clustering.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/detectnet_v2/postprocessor/tests/test_clustering.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/detectnet_v2/tfhooks/checkpoint_saver_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/detectnet_v2/tfhooks/__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/detectnet_v2/tfhooks/early_stopping_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/detectnet_v2/tfhooks/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/detectnet_v2/tfhooks/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/detectnet_v2/tfhooks/validation_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/detectnet_v2/tfhooks/tests/test_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/detectnet_v2/objectives/build_objective.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/detectnet_v2/objectives/bbox_objective.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Define a lightweight class for configuring ObjectiveLabelFilter."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
class ObjectiveLabelFilterConfig(object):
"""Lightweight class w... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/objectives/objective_label_filter_config.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/detectnet_v2/objectives/cov_objective.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/detectnet_v2/objectives/__init__.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Objective label filter class that handles the necessary label filtering logic."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import six
import tensorflow as tf
from nvidia_tao_tf1... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/objectives/objective_label_filter.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/detectnet_v2/objectives/cov_norm_objective.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/detectnet_v2/objectives/objective_set.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""ObjectiveLabelFilter class builder."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from nvidia_tao_tf1.cv.detectnet_v2.label_filter.build_label_filter import build_label_filter
from... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/objectives/build_objective_label_filter.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/detectnet_v2/objectives/base_objective.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/detectnet_v2/objectives/tests/test_build_objective_label_filter.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/detectnet_v2/objectives/tests/test_objective_label_filter.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/detectnet_v2/objectives/tests/test_objective_set.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/detectnet_v2/objectives/tests/test_objective.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/detectnet_v2/objectives/tests/test_bbox_objective.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Bbox rasterizer config class that holds parameters for BboxRasterizer."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
class BboxRasterizerConfig(dict):
"""Hold the parameters f... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/rasterizers/bbox_rasterizer_config.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Build for the BboxRasterizerConfig."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import six
from nvidia_tao_tf1.cv.detectnet_v2.rasterizers.bbox_rasterizer_config import BboxRaste... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/rasterizers/build_bbox_rasterizer_config.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Defines functions and classes for translating labels to rasterized ground truth tensors."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
| tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/rasterizers/__init__.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Bbox rasterizer class that translates labels into ground truth tensors."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import six
from six.moves import range
import tensorflow as tf... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/rasterizers/bbox_rasterizer.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Loss mask rasterizer class that translates labels to rasterized tensors."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from nvidia_tao_tf1.blocks.multi_source_loader.types.bbox_2d_... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/rasterizers/loss_mask_rasterizer.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/detectnet_v2/rasterizers/tests/test_bbox_rasterizer.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/detectnet_v2/rasterizers/tests/test_loss_mask_rasterizer.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/detectnet_v2/rasterizers/tests/test_build_bbox_rasterizer_config.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/detectnet_v2/rasterizers/tests/test_bbox_rasterizer_config.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Barebones timer."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from datetime import timedelta
from time import time
from decorator import decorator
from nvidia_tao_tf1.core impor... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/utilities/timer.py |
# Copyright (c) 2017 - 2019, NVIDIA CORPORATION. All rights reserved.
"""Defining all the constants and magic numbers that the iva gridbox module uses."""
from collections import namedtuple
# Global Variables
# Setting output color book
color = {
'car': 'green',
'road_sign': 'cyan',
'bicycle': 'yellow',... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/utilities/constants.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/detectnet_v2/utilities/__init__.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Common routines for DetectNet V2."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
| tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/common/__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/detectnet_v2/common/dataio/converter_lib_test.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Common dataio."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
| tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/common/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/detectnet_v2/common/dataio/converter_lib.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/detectnet_v2/common/graph/__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/detectnet_v2/common/graph/initializers.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""Timing related test utilities."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
TIME_DELTA = 1.5
class FakeTime(object):
"""Can be used to replace to built-in time function."""... | tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/common/tests/utilities/timing.py |
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
"""IVA gridbox entrypoint scripts."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
| tao_tensorflow1_backend-main | nvidia_tao_tf1/cv/detectnet_v2/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/detectnet_v2/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/detectnet_v2/scripts/calibration_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/detectnet_v2/scripts/dataset_convert.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/detectnet_v2/scripts/train.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/detectnet_v2/scripts/prune.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.