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_pytorch_backend-main
nvidia_tao_pytorch/cv/deformable_detr/dataloader/sampler.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/utils/misc.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/utils/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/evaluation/metrics.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/evaluation/class_names.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/evaluation/eval_hooks.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/evaluation/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/seg/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/seg/builder.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/seg/sampler/base_pixel_sampler.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/seg/sampler/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/core/seg/sampler/ohem_pixel_sampler.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/config/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/config/default_config.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/utils/collect_env.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/utils/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/utils/logger.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. """Utils for Segformer Segmentation""" import os import struct from eff.core.codec import encrypt_stream import shutil def check_and_create(d): """Create a directory.""" if not os.path.isdir(d): os.makedirs(d, exist_ok=True) def check...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/utils/common_utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/hooks/tao_status_logger.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/hooks/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/scripts/inference.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/scripts/evaluate.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/entrypoint/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/entrypoint/segformer.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/sf_model.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/losses/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/losses/utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/losses/cross_entropy_loss.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/losses/accuracy.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/utils/se_layer.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/utils/inverted_residual.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/utils/res_layer.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/utils/up_conv_block.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/utils/norm.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/utils/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/utils/self_attention_block.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/utils/common_utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/utils/make_divisible.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/utils/drop.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # This work is made available under the Nvidia Source Code License-NC. # To view a copy of this license, visit # https://github.com/NVlabs/FAN/blob/main/LICENSE # ------------------------------------------------------------------------- # MIT License # ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/backbones/convnext_utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # This work is made available under the Nvidia Source Code License-NC. # To view a copy of this license, visit # https://github.com/NVlabs/FAN/blob/main/LICENSE """FAN Transformer Backbone Module for Segmentation.""" import math from functools import ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/backbones/fan.py
# --------------------------------------------------------------- # Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # This work is licensed under the NVIDIA Source Code License # --------------------------------------------------------------- """Mix Transformer Module.""" import torch import torch.nn ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/backbones/mix_transformer.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/backbones/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/segmentors/encoder_decoder.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/segmentors/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/segmentors/base.py
# --------------------------------------------------------------- # Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # # This work is licensed under the NVIDIA Source Code License # --------------------------------------------------------------- """MLP Segformer Head.""" import torch.nn as nn import torc...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/decode_heads/segformer_head.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/decode_heads/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/model/decode_heads/decode_head.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/inference/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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/inference/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/ops/encoding.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/ops/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/ops/wrappers.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/trainer/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/trainer/trainer.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/metrics.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/base_dataset.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/segformer_dm.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 cop...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/custom_dataset.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/builder.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/data_utils.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/segformer_dataset.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/pipelines/transforms.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/pipelines/test_time_aug.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmskeleton # Copyright 2019 OpenMMLAB # 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...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/pipelines/loading.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/pipelines/compose.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_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/pipelines/__init__.py
# Copyright (c) 2023, NVIDIA CORPORATION. All rights reserved. # Original source taken from https://github.com/open-mmlab/mmsegmentation # Copyright 2019 OpenMMLAB # 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 ...
tao_pytorch_backend-main
nvidia_tao_pytorch/cv/segformer/dataloader/pipelines/formating.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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/post_processing/seg_detector_representer.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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/post_processing/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/config/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/config/default_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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/lr_schedulers/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/lr_schedulers/schedulers.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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/utils/metrics.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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/utils/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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/utils/common_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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/utils/ocr_metric/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/utils/ocr_metric/icdar2015/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/utils/ocr_metric/icdar2015/quad_metric.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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/utils/ocr_metric/icdar2015/detection/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/utils/ocr_metric/icdar2015/detection/iou.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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/pruning/version.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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/pruning/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/pruning/torch_pruning/importance.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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/pruning/torch_pruning/__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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/pruning/torch_pruning/strategy.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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/pruning/torch_pruning/metric.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_pytorch_backend-main
nvidia_tao_pytorch/cv/ocdnet/pruning/torch_pruning/utils.py