From 583f2bdd139e014716fc279f23d362959bcc0f39 Mon Sep 17 00:00:00 2001 From: Janne Hellsten Date: Wed, 13 Oct 2021 13:00:23 +0300 Subject: [PATCH] Remove UTF-8 byte order markers (BOMs) BOMs barf on UTF-8 decoding within PyTorch: File "D:\Soft\Miniconda3\lib\site-packages\torch\utils_cpp_extension_versioner.py", line 16, in hash_source_files hash_value = update_hash(hash_value, file.read()) UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 2: illegal multibyte sequence Should fix #10, #14 --- avg_spectra.py | 2 +- calc_metrics.py | 2 +- dataset_tool.py | 2 +- dnnlib/__init__.py | 2 +- dnnlib/util.py | 2 +- gen_images.py | 2 +- gen_video.py | 2 +- gui_utils/__init__.py | 2 +- gui_utils/gl_utils.py | 2 +- gui_utils/glfw_window.py | 2 +- gui_utils/imgui_utils.py | 2 +- gui_utils/imgui_window.py | 2 +- gui_utils/text_utils.py | 2 +- legacy.py | 2 +- metrics/__init__.py | 2 +- metrics/equivariance.py | 2 +- metrics/frechet_inception_distance.py | 2 +- metrics/inception_score.py | 2 +- metrics/kernel_inception_distance.py | 2 +- metrics/metric_main.py | 2 +- metrics/metric_utils.py | 2 +- metrics/perceptual_path_length.py | 2 +- metrics/precision_recall.py | 2 +- torch_utils/__init__.py | 2 +- torch_utils/custom_ops.py | 2 +- torch_utils/misc.py | 2 +- torch_utils/ops/__init__.py | 2 +- torch_utils/ops/bias_act.cpp | 2 +- torch_utils/ops/bias_act.cu | 2 +- torch_utils/ops/bias_act.h | 2 +- torch_utils/ops/bias_act.py | 2 +- torch_utils/ops/conv2d_gradfix.py | 2 +- torch_utils/ops/conv2d_resample.py | 2 +- torch_utils/ops/filtered_lrelu.cpp | 2 +- torch_utils/ops/filtered_lrelu.cu | 2 +- torch_utils/ops/filtered_lrelu.h | 2 +- torch_utils/ops/filtered_lrelu.py | 2 +- torch_utils/ops/filtered_lrelu_ns.cu | 2 +- torch_utils/ops/filtered_lrelu_rd.cu | 2 +- torch_utils/ops/filtered_lrelu_wr.cu | 2 +- torch_utils/ops/fma.py | 2 +- torch_utils/ops/grid_sample_gradfix.py | 2 +- torch_utils/ops/upfirdn2d.cpp | 2 +- torch_utils/ops/upfirdn2d.cu | 2 +- torch_utils/ops/upfirdn2d.h | 2 +- torch_utils/ops/upfirdn2d.py | 2 +- torch_utils/persistence.py | 2 +- torch_utils/training_stats.py | 2 +- train.py | 2 +- training/__init__.py | 2 +- training/augment.py | 2 +- training/dataset.py | 2 +- training/loss.py | 2 +- training/networks_stylegan2.py | 2 +- training/networks_stylegan3.py | 2 +- training/training_loop.py | 2 +- visualizer.py | 2 +- viz/__init__.py | 2 +- viz/capture_widget.py | 2 +- viz/equivariance_widget.py | 2 +- viz/latent_widget.py | 2 +- viz/layer_widget.py | 2 +- viz/performance_widget.py | 2 +- viz/pickle_widget.py | 2 +- viz/renderer.py | 2 +- viz/stylemix_widget.py | 2 +- viz/trunc_noise_widget.py | 2 +- 67 files changed, 67 insertions(+), 67 deletions(-) diff --git a/avg_spectra.py b/avg_spectra.py index afaef87..a53a7b3 100644 --- a/avg_spectra.py +++ b/avg_spectra.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/calc_metrics.py b/calc_metrics.py index 74a398a..52e1e94 100644 --- a/calc_metrics.py +++ b/calc_metrics.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/dataset_tool.py b/dataset_tool.py index e9382fb..e09d3d2 100644 --- a/dataset_tool.py +++ b/dataset_tool.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/dnnlib/__init__.py b/dnnlib/__init__.py index e0a0067..e7423bf 100644 --- a/dnnlib/__init__.py +++ b/dnnlib/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/dnnlib/util.py b/dnnlib/util.py index 191b52f..6bbdf3b 100644 --- a/dnnlib/util.py +++ b/dnnlib/util.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/gen_images.py b/gen_images.py index f8a4b11..1a4e898 100644 --- a/gen_images.py +++ b/gen_images.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/gen_video.py b/gen_video.py index 7a4bcc0..2556544 100644 --- a/gen_video.py +++ b/gen_video.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/gui_utils/__init__.py b/gui_utils/__init__.py index 8dd3488..939e7c6 100644 --- a/gui_utils/__init__.py +++ b/gui_utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/gui_utils/gl_utils.py b/gui_utils/gl_utils.py index 2dd8bd9..64b6cb6 100644 --- a/gui_utils/gl_utils.py +++ b/gui_utils/gl_utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/gui_utils/glfw_window.py b/gui_utils/glfw_window.py index 94c4a8d..83264eb 100644 --- a/gui_utils/glfw_window.py +++ b/gui_utils/glfw_window.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/gui_utils/imgui_utils.py b/gui_utils/imgui_utils.py index e5cb118..333024b 100644 --- a/gui_utils/imgui_utils.py +++ b/gui_utils/imgui_utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/gui_utils/imgui_window.py b/gui_utils/imgui_window.py index aaf7caa..30d539a 100644 --- a/gui_utils/imgui_window.py +++ b/gui_utils/imgui_window.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/gui_utils/text_utils.py b/gui_utils/text_utils.py index ed0c7a9..35e5e4a 100644 --- a/gui_utils/text_utils.py +++ b/gui_utils/text_utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/legacy.py b/legacy.py index e361fc2..8cf53cb 100644 --- a/legacy.py +++ b/legacy.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/metrics/__init__.py b/metrics/__init__.py index 8dd3488..939e7c6 100644 --- a/metrics/__init__.py +++ b/metrics/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/metrics/equivariance.py b/metrics/equivariance.py index c96ebed..d5559ac 100644 --- a/metrics/equivariance.py +++ b/metrics/equivariance.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/metrics/frechet_inception_distance.py b/metrics/frechet_inception_distance.py index 1bdd6b6..7d5231c 100644 --- a/metrics/frechet_inception_distance.py +++ b/metrics/frechet_inception_distance.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/metrics/inception_score.py b/metrics/inception_score.py index b9a7f4a..e0a3a44 100644 --- a/metrics/inception_score.py +++ b/metrics/inception_score.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/metrics/kernel_inception_distance.py b/metrics/kernel_inception_distance.py index e8e0bd1..d69325c 100644 --- a/metrics/kernel_inception_distance.py +++ b/metrics/kernel_inception_distance.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/metrics/metric_main.py b/metrics/metric_main.py index e4f7389..1179712 100644 --- a/metrics/metric_main.py +++ b/metrics/metric_main.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/metrics/metric_utils.py b/metrics/metric_utils.py index 44b67ee..af122b2 100644 --- a/metrics/metric_utils.py +++ b/metrics/metric_utils.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/metrics/perceptual_path_length.py b/metrics/perceptual_path_length.py index 7fb7439..c68519f 100644 --- a/metrics/perceptual_path_length.py +++ b/metrics/perceptual_path_length.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/metrics/precision_recall.py b/metrics/precision_recall.py index 17e5b42..120ef80 100644 --- a/metrics/precision_recall.py +++ b/metrics/precision_recall.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/__init__.py b/torch_utils/__init__.py index 8dd3488..939e7c6 100644 --- a/torch_utils/__init__.py +++ b/torch_utils/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/custom_ops.py b/torch_utils/custom_ops.py index dffd4bd..dd7cc04 100644 --- a/torch_utils/custom_ops.py +++ b/torch_utils/custom_ops.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/misc.py b/torch_utils/misc.py index 02f97e2..335397d 100644 --- a/torch_utils/misc.py +++ b/torch_utils/misc.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/__init__.py b/torch_utils/ops/__init__.py index 8dd3488..939e7c6 100644 --- a/torch_utils/ops/__init__.py +++ b/torch_utils/ops/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/bias_act.cpp b/torch_utils/ops/bias_act.cpp index 218bc8f..3adaeee 100644 --- a/torch_utils/ops/bias_act.cpp +++ b/torch_utils/ops/bias_act.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/bias_act.cu b/torch_utils/ops/bias_act.cu index 77979ab..ed1d16f 100644 --- a/torch_utils/ops/bias_act.cu +++ b/torch_utils/ops/bias_act.cu @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/bias_act.h b/torch_utils/ops/bias_act.h index db23152..60b81c6 100644 --- a/torch_utils/ops/bias_act.h +++ b/torch_utils/ops/bias_act.h @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/bias_act.py b/torch_utils/ops/bias_act.py index af13db5..5c485c0 100644 --- a/torch_utils/ops/bias_act.py +++ b/torch_utils/ops/bias_act.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/conv2d_gradfix.py b/torch_utils/ops/conv2d_gradfix.py index 8056b5d..388778f 100644 --- a/torch_utils/ops/conv2d_gradfix.py +++ b/torch_utils/ops/conv2d_gradfix.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/conv2d_resample.py b/torch_utils/ops/conv2d_resample.py index a6d7240..5eb5877 100644 --- a/torch_utils/ops/conv2d_resample.py +++ b/torch_utils/ops/conv2d_resample.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/filtered_lrelu.cpp b/torch_utils/ops/filtered_lrelu.cpp index 6a99e11..ff4149b 100644 --- a/torch_utils/ops/filtered_lrelu.cpp +++ b/torch_utils/ops/filtered_lrelu.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/filtered_lrelu.cu b/torch_utils/ops/filtered_lrelu.cu index d76f1e5..8e6f47f 100644 --- a/torch_utils/ops/filtered_lrelu.cu +++ b/torch_utils/ops/filtered_lrelu.cu @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/filtered_lrelu.h b/torch_utils/ops/filtered_lrelu.h index 2060f5d..2c403e3 100644 --- a/torch_utils/ops/filtered_lrelu.h +++ b/torch_utils/ops/filtered_lrelu.h @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/filtered_lrelu.py b/torch_utils/ops/filtered_lrelu.py index 48d619a..6106c91 100644 --- a/torch_utils/ops/filtered_lrelu.py +++ b/torch_utils/ops/filtered_lrelu.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/filtered_lrelu_ns.cu b/torch_utils/ops/filtered_lrelu_ns.cu index 55ef841..ef5d948 100644 --- a/torch_utils/ops/filtered_lrelu_ns.cu +++ b/torch_utils/ops/filtered_lrelu_ns.cu @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/filtered_lrelu_rd.cu b/torch_utils/ops/filtered_lrelu_rd.cu index f41832c..9683478 100644 --- a/torch_utils/ops/filtered_lrelu_rd.cu +++ b/torch_utils/ops/filtered_lrelu_rd.cu @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/filtered_lrelu_wr.cu b/torch_utils/ops/filtered_lrelu_wr.cu index 0265d18..a4c6a24 100644 --- a/torch_utils/ops/filtered_lrelu_wr.cu +++ b/torch_utils/ops/filtered_lrelu_wr.cu @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/fma.py b/torch_utils/ops/fma.py index 8e9b3e9..51a45df 100644 --- a/torch_utils/ops/fma.py +++ b/torch_utils/ops/fma.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/grid_sample_gradfix.py b/torch_utils/ops/grid_sample_gradfix.py index 269ffe8..979ee83 100644 --- a/torch_utils/ops/grid_sample_gradfix.py +++ b/torch_utils/ops/grid_sample_gradfix.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/upfirdn2d.cpp b/torch_utils/ops/upfirdn2d.cpp index 8262e0f..44fa337 100644 --- a/torch_utils/ops/upfirdn2d.cpp +++ b/torch_utils/ops/upfirdn2d.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/upfirdn2d.cu b/torch_utils/ops/upfirdn2d.cu index 84d45ba..3a33e31 100644 --- a/torch_utils/ops/upfirdn2d.cu +++ b/torch_utils/ops/upfirdn2d.cu @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/upfirdn2d.h b/torch_utils/ops/upfirdn2d.h index eb7db43..2793daf 100644 --- a/torch_utils/ops/upfirdn2d.h +++ b/torch_utils/ops/upfirdn2d.h @@ -1,4 +1,4 @@ -// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. // // NVIDIA CORPORATION and its licensors retain all intellectual property // and proprietary rights in and to this software, related documentation diff --git a/torch_utils/ops/upfirdn2d.py b/torch_utils/ops/upfirdn2d.py index 504d3d5..b544be1 100644 --- a/torch_utils/ops/upfirdn2d.py +++ b/torch_utils/ops/upfirdn2d.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/persistence.py b/torch_utils/persistence.py index a61fa03..f90ce85 100644 --- a/torch_utils/persistence.py +++ b/torch_utils/persistence.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/torch_utils/training_stats.py b/torch_utils/training_stats.py index 64e7835..5de4134 100644 --- a/torch_utils/training_stats.py +++ b/torch_utils/training_stats.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/train.py b/train.py index 7f055b3..be883c9 100644 --- a/train.py +++ b/train.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/training/__init__.py b/training/__init__.py index 8dd3488..939e7c6 100644 --- a/training/__init__.py +++ b/training/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/training/augment.py b/training/augment.py index c5a4b02..d68e35c 100644 --- a/training/augment.py +++ b/training/augment.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/training/dataset.py b/training/dataset.py index 1d87ba7..68c356e 100644 --- a/training/dataset.py +++ b/training/dataset.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/training/loss.py b/training/loss.py index 920d059..5674809 100644 --- a/training/loss.py +++ b/training/loss.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/training/networks_stylegan2.py b/training/networks_stylegan2.py index 8ab3106..95edbda 100644 --- a/training/networks_stylegan2.py +++ b/training/networks_stylegan2.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/training/networks_stylegan3.py b/training/networks_stylegan3.py index a6a2b4d..ab1a708 100644 --- a/training/networks_stylegan3.py +++ b/training/networks_stylegan3.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/training/training_loop.py b/training/training_loop.py index 656839c..1fd7970 100644 --- a/training/training_loop.py +++ b/training/training_loop.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/visualizer.py b/visualizer.py index 4168447..e9e3b14 100644 --- a/visualizer.py +++ b/visualizer.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/viz/__init__.py b/viz/__init__.py index 8dd3488..939e7c6 100644 --- a/viz/__init__.py +++ b/viz/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/viz/capture_widget.py b/viz/capture_widget.py index 311ae88..dc46c5a 100644 --- a/viz/capture_widget.py +++ b/viz/capture_widget.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/viz/equivariance_widget.py b/viz/equivariance_widget.py index 49ef74f..d961e82 100644 --- a/viz/equivariance_widget.py +++ b/viz/equivariance_widget.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/viz/latent_widget.py b/viz/latent_widget.py index ca6fa62..32c743b 100644 --- a/viz/latent_widget.py +++ b/viz/latent_widget.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/viz/layer_widget.py b/viz/layer_widget.py index 52758a9..365d6db 100644 --- a/viz/layer_widget.py +++ b/viz/layer_widget.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/viz/performance_widget.py b/viz/performance_widget.py index 67e874a..527a561 100644 --- a/viz/performance_widget.py +++ b/viz/performance_widget.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/viz/pickle_widget.py b/viz/pickle_widget.py index 5e5f953..9f5b3a7 100644 --- a/viz/pickle_widget.py +++ b/viz/pickle_widget.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/viz/renderer.py b/viz/renderer.py index dc89412..56f4a1d 100644 --- a/viz/renderer.py +++ b/viz/renderer.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/viz/stylemix_widget.py b/viz/stylemix_widget.py index b997855..0d7bf3e 100644 --- a/viz/stylemix_widget.py +++ b/viz/stylemix_widget.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation diff --git a/viz/trunc_noise_widget.py b/viz/trunc_noise_widget.py index 4597b28..dda852b 100644 --- a/viz/trunc_noise_widget.py +++ b/viz/trunc_noise_widget.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# Copyright (c) 2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # # NVIDIA CORPORATION and its licensors retain all intellectual property # and proprietary rights in and to this software, related documentation