SPDX and license update
Browse files- README.md +3 -4
- graphic_element_v1.py +3 -0
- model.py +3 -0
- post_processing/graphic_elt_pp.py +3 -0
- utils.py +3 -0
- yolox/__init__.py +3 -0
- yolox/boxes.py +3 -0
- yolox/darknet.py +3 -0
- yolox/network_blocks.py +3 -0
- yolox/yolo_fpn.py +3 -0
- yolox/yolo_head.py +3 -0
- yolox/yolo_pafpn.py +3 -0
- yolox/yolox.py +3 -0
README.md
CHANGED
|
@@ -35,7 +35,7 @@ This model supersedes the [CACHED](https://build.nvidia.com/university-at-buffal
|
|
| 35 |
|
| 36 |
### License/Terms of use
|
| 37 |
|
| 38 |
-
The use of this model is governed by the [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/).
|
| 39 |
|
| 40 |
**You are responsible for ensuring that your use of NVIDIA provided models complies with all applicable laws.**
|
| 41 |
|
|
@@ -283,8 +283,6 @@ NVIDIA believes Trustworthy AI is a shared responsibility and we have establishe
|
|
| 283 |
|
| 284 |
**For more detailed information on ethical considerations for this model**, please see the Model Card++ [Explainability](explainability.md), [Bias](bias.md), [Safety & Security](safety-security.md), and [Privacy](privacy.md) Subcards.
|
| 285 |
|
| 286 |
-
Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
|
| 287 |
-
|
| 288 |
## Bias
|
| 289 |
|
| 290 |
| Field | Response |
|
|
@@ -306,7 +304,8 @@ Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.
|
|
| 306 |
| Verified to have met prescribed NVIDIA quality standards: | Yes |
|
| 307 |
| Performance Metrics: | Mean Average Precision, detectionr recall and visual inspection |
|
| 308 |
| Potential Known Risks: | This model may not always detect all elements in a document. |
|
| 309 |
-
| Licensing & Terms of Use: | Use of this model is governed by the [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/) and the [Apache 2.0 License](https://
|
|
|
|
| 310 |
|
| 311 |
## Privacy
|
| 312 |
|
|
|
|
| 35 |
|
| 36 |
### License/Terms of use
|
| 37 |
|
| 38 |
+
The use of this model is governed by the [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/) and the use of the post-processing scripts are licensed under [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt).
|
| 39 |
|
| 40 |
**You are responsible for ensuring that your use of NVIDIA provided models complies with all applicable laws.**
|
| 41 |
|
|
|
|
| 283 |
|
| 284 |
**For more detailed information on ethical considerations for this model**, please see the Model Card++ [Explainability](explainability.md), [Bias](bias.md), [Safety & Security](safety-security.md), and [Privacy](privacy.md) Subcards.
|
| 285 |
|
|
|
|
|
|
|
| 286 |
## Bias
|
| 287 |
|
| 288 |
| Field | Response |
|
|
|
|
| 304 |
| Verified to have met prescribed NVIDIA quality standards: | Yes |
|
| 305 |
| Performance Metrics: | Mean Average Precision, detectionr recall and visual inspection |
|
| 306 |
| Potential Known Risks: | This model may not always detect all elements in a document. |
|
| 307 |
+
| Licensing & Terms of Use: | Use of this model is governed by the [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/) and the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0.txt). |
|
| 308 |
+
|
| 309 |
|
| 310 |
## Privacy
|
| 311 |
|
graphic_element_v1.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import torch
|
| 2 |
import torch.nn as nn
|
| 3 |
from typing import List, Tuple
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
import torch
|
| 5 |
import torch.nn as nn
|
| 6 |
from typing import List, Tuple
|
model.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import os
|
| 2 |
import sys
|
| 3 |
import torch
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
import os
|
| 5 |
import sys
|
| 6 |
import torch
|
post_processing/graphic_elt_pp.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import numpy as np
|
| 2 |
import numpy.typing as npt
|
| 3 |
from typing import Tuple, List
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
import numpy as np
|
| 5 |
import numpy.typing as npt
|
| 6 |
from typing import Tuple, List
|
utils.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
|
| 2 |
import numpy as np
|
| 3 |
import pandas as pd
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
|
| 5 |
import numpy as np
|
| 6 |
import pandas as pd
|
yolox/__init__.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
# -*- coding:utf-8 -*-
|
| 3 |
# Copyright (c) Megvii Inc. All rights reserved.
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
#!/usr/bin/env python3
|
| 5 |
# -*- coding:utf-8 -*-
|
| 6 |
# Copyright (c) Megvii Inc. All rights reserved.
|
yolox/boxes.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
# Copyright (c) Megvii Inc. All rights reserved.
|
| 3 |
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
#!/usr/bin/env python3
|
| 5 |
# Copyright (c) Megvii Inc. All rights reserved.
|
| 6 |
|
yolox/darknet.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#!/usr/bin/env python
|
| 2 |
# -*- encoding: utf-8 -*-
|
| 3 |
# Copyright (c) Megvii Inc. All rights reserved.
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
#!/usr/bin/env python
|
| 5 |
# -*- encoding: utf-8 -*-
|
| 6 |
# Copyright (c) Megvii Inc. All rights reserved.
|
yolox/network_blocks.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#!/usr/bin/env python
|
| 2 |
# -*- encoding: utf-8 -*-
|
| 3 |
# Copyright (c) Megvii Inc. All rights reserved.
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
#!/usr/bin/env python
|
| 5 |
# -*- encoding: utf-8 -*-
|
| 6 |
# Copyright (c) Megvii Inc. All rights reserved.
|
yolox/yolo_fpn.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#!/usr/bin/env python
|
| 2 |
# -*- encoding: utf-8 -*-
|
| 3 |
# Copyright (c) Megvii Inc. All rights reserved.
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
#!/usr/bin/env python
|
| 5 |
# -*- encoding: utf-8 -*-
|
| 6 |
# Copyright (c) Megvii Inc. All rights reserved.
|
yolox/yolo_head.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#!/usr/bin/env python3
|
| 2 |
# -*- coding:utf-8 -*-
|
| 3 |
# Copyright (c) Megvii Inc. All rights reserved.
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
#!/usr/bin/env python3
|
| 5 |
# -*- coding:utf-8 -*-
|
| 6 |
# Copyright (c) Megvii Inc. All rights reserved.
|
yolox/yolo_pafpn.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#!/usr/bin/env python
|
| 2 |
# -*- encoding: utf-8 -*-
|
| 3 |
# Copyright (c) Megvii Inc. All rights reserved.
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
#!/usr/bin/env python
|
| 5 |
# -*- encoding: utf-8 -*-
|
| 6 |
# Copyright (c) Megvii Inc. All rights reserved.
|
yolox/yolox.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
#!/usr/bin/env python
|
| 2 |
# -*- encoding: utf-8 -*-
|
| 3 |
# Copyright (c) Megvii Inc. All rights reserved.
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
| 2 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 3 |
+
|
| 4 |
#!/usr/bin/env python
|
| 5 |
# -*- encoding: utf-8 -*-
|
| 6 |
# Copyright (c) Megvii Inc. All rights reserved.
|