Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust the filenames of decoder test files and update licenses #2844

Merged
merged 2 commits into from
Apr 7, 2021

Conversation

klecki
Copy link
Contributor

@klecki klecki commented Apr 6, 2021

Make them follow the same naming as readers.
Add missing license in several files.

Signed-off-by: Krzysztof Lecki klecki@nvidia.com#### Why we need this PR?

  • Improve file naming, fix missing licenses.

What happened in this PR?

  • What solution was applied:
    馃憖 spot no license, add it
  • Affected modules and functionalities:
    Python tests.
  • Key points relevant for the review:
    None, just please remember to add them
  • Validation and testing:
    CI
  • Documentation (including examples):
    Nope

JIRA TASK: [NA]

Make them follow the same naming as readers.
Add missing license

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@JanuszL JanuszL self-assigned this Apr 6, 2021
@klecki
Copy link
Contributor Author

klecki commented Apr 6, 2021

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [2240374]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [2240374]: BUILD PASSED

@@ -1,3 +1,17 @@
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technicaly, you do edit this file, so this should be 2020-2021, right? ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically yes, but I just took the scope of the edits before adding this.

@@ -38,7 +52,7 @@ def check_roi_random_crop(ndim=2, max_batch_size=16,
in_shape = dali.fn.shapes(shape_like_in, dtype=types.INT32)

crop_shape = [(crop_min_extent + crop_max_extent) // 2] * ndim if random.choice([True, False]) \
else fn.random.uniform(range=(crop_min_extent, crop_max_extent + 1),
else fn.random.uniform(range=(crop_min_extent, crop_max_extent + 1),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please trim the whitespaces after else

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, there is double space. I don't want to rerun CI and this will touch the code.

@klecki klecki merged commit f8198dc into NVIDIA:master Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants