diff --git a/README.md b/README.md index 8e7b7567..4cb34c79 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # DDSP: Differentiable Digital Signal Processing [![Build Status](https://github.com/magenta/ddsp/workflows/build/badge.svg)](https://github.com/magenta/ddsp/actions?query=workflow%3Abuild) -[![Downloads](https://static.pepy.tech/personalized-badge/crepe?period=total&units=international_system&left_color=grey&right_color=blue&left_text=Downloads)](https://pepy.tech/project/crepe) +[![Downloads](https://static.pepy.tech/badge/ddsp)](https://pepy.tech/project/ddsp) [**Demos**](./ddsp/colab/demos) | [**Tutorials**](./ddsp/colab/tutorials) diff --git a/ddsp/__init__.py b/ddsp/__init__.py index 43987e44..48ee4b81 100644 --- a/ddsp/__init__.py +++ b/ddsp/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/colab/__init__.py b/ddsp/colab/__init__.py index 941b8629..ac3e7d30 100644 --- a/ddsp/colab/__init__.py +++ b/ddsp/colab/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/colab/colab_utils.py b/ddsp/colab/colab_utils.py index 0f8e712e..05639694 100644 --- a/ddsp/colab/colab_utils.py +++ b/ddsp/colab/colab_utils.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/core.py b/ddsp/core.py index 2b8af93e..85aadb06 100644 --- a/ddsp/core.py +++ b/ddsp/core.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/core_test.py b/ddsp/core_test.py index e67149ee..f4ce3c73 100644 --- a/ddsp/core_test.py +++ b/ddsp/core_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/dags.py b/ddsp/dags.py index 7e5f2143..de0b7a08 100644 --- a/ddsp/dags.py +++ b/ddsp/dags.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/dags_test.py b/ddsp/dags_test.py index 009cade9..d1f56bcb 100644 --- a/ddsp/dags_test.py +++ b/ddsp/dags_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/effects.py b/ddsp/effects.py index db0aa0b6..f9c39306 100644 --- a/ddsp/effects.py +++ b/ddsp/effects.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/effects_test.py b/ddsp/effects_test.py index bafce500..a53af212 100644 --- a/ddsp/effects_test.py +++ b/ddsp/effects_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/losses.py b/ddsp/losses.py index b7670ad1..efddeaeb 100644 --- a/ddsp/losses.py +++ b/ddsp/losses.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/losses_test.py b/ddsp/losses_test.py index 6c3664ea..5b5a50b0 100644 --- a/ddsp/losses_test.py +++ b/ddsp/losses_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/processors.py b/ddsp/processors.py index 448cec29..b0fe3c10 100644 --- a/ddsp/processors.py +++ b/ddsp/processors.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/processors_test.py b/ddsp/processors_test.py index 68a245d4..a85b1da6 100644 --- a/ddsp/processors_test.py +++ b/ddsp/processors_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/spectral_ops.py b/ddsp/spectral_ops.py index accd1af7..0a638ece 100644 --- a/ddsp/spectral_ops.py +++ b/ddsp/spectral_ops.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/spectral_ops_test.py b/ddsp/spectral_ops_test.py index ecaee9cd..47ed937c 100644 --- a/ddsp/spectral_ops_test.py +++ b/ddsp/spectral_ops_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/synths.py b/ddsp/synths.py index 130ca0ce..0cfb897f 100644 --- a/ddsp/synths.py +++ b/ddsp/synths.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/synths_test.py b/ddsp/synths_test.py index 41fa48c9..612c71c2 100644 --- a/ddsp/synths_test.py +++ b/ddsp/synths_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/test_util.py b/ddsp/test_util.py index ab96982d..e86dcb47 100644 --- a/ddsp/test_util.py +++ b/ddsp/test_util.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/__init__.py b/ddsp/training/__init__.py index 9cbe0300..66fca96d 100644 --- a/ddsp/training/__init__.py +++ b/ddsp/training/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/cloud.py b/ddsp/training/cloud.py index 66e9f349..7a29c554 100644 --- a/ddsp/training/cloud.py +++ b/ddsp/training/cloud.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/cloud_test.py b/ddsp/training/cloud_test.py index 3eb11d5c..c9dca6c4 100644 --- a/ddsp/training/cloud_test.py +++ b/ddsp/training/cloud_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/data.py b/ddsp/training/data.py index 747c8696..03f38d5e 100644 --- a/ddsp/training/data.py +++ b/ddsp/training/data.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/data_preparation/__init__.py b/ddsp/training/data_preparation/__init__.py index d768d146..dfd70faa 100644 --- a/ddsp/training/data_preparation/__init__.py +++ b/ddsp/training/data_preparation/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/data_preparation/ddsp_generate_synthetic_dataset.py b/ddsp/training/data_preparation/ddsp_generate_synthetic_dataset.py index cda6f911..6d79abd8 100644 --- a/ddsp/training/data_preparation/ddsp_generate_synthetic_dataset.py +++ b/ddsp/training/data_preparation/ddsp_generate_synthetic_dataset.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/data_preparation/ddsp_prepare_tfrecord.py b/ddsp/training/data_preparation/ddsp_prepare_tfrecord.py index 27662bec..1cab8a61 100644 --- a/ddsp/training/data_preparation/ddsp_prepare_tfrecord.py +++ b/ddsp/training/data_preparation/ddsp_prepare_tfrecord.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/data_preparation/prepare_tfrecord_lib.py b/ddsp/training/data_preparation/prepare_tfrecord_lib.py index 4c23f95b..635c3bed 100644 --- a/ddsp/training/data_preparation/prepare_tfrecord_lib.py +++ b/ddsp/training/data_preparation/prepare_tfrecord_lib.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/data_preparation/prepare_tfrecord_lib_test.py b/ddsp/training/data_preparation/prepare_tfrecord_lib_test.py index 1fa6b871..83740316 100644 --- a/ddsp/training/data_preparation/prepare_tfrecord_lib_test.py +++ b/ddsp/training/data_preparation/prepare_tfrecord_lib_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/data_preparation/synthetic_data.py b/ddsp/training/data_preparation/synthetic_data.py index cc14e82c..1312b4aa 100644 --- a/ddsp/training/data_preparation/synthetic_data.py +++ b/ddsp/training/data_preparation/synthetic_data.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/ddsp_export.py b/ddsp/training/ddsp_export.py index 68528a36..0d89d50e 100644 --- a/ddsp/training/ddsp_export.py +++ b/ddsp/training/ddsp_export.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/ddsp_run.py b/ddsp/training/ddsp_run.py index 7edacd5b..1c9a39bf 100644 --- a/ddsp/training/ddsp_run.py +++ b/ddsp/training/ddsp_run.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/decoders.py b/ddsp/training/decoders.py index e9d52dff..95f0155a 100644 --- a/ddsp/training/decoders.py +++ b/ddsp/training/decoders.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/decoders_test.py b/ddsp/training/decoders_test.py index 7991ab7d..1d2c76d2 100644 --- a/ddsp/training/decoders_test.py +++ b/ddsp/training/decoders_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/docker/__init__.py b/ddsp/training/docker/__init__.py index fc167b09..fa3161bd 100644 --- a/ddsp/training/docker/__init__.py +++ b/ddsp/training/docker/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/docker/ddsp_ai_platform.py b/ddsp/training/docker/ddsp_ai_platform.py index 30e6527a..c449f882 100644 --- a/ddsp/training/docker/ddsp_ai_platform.py +++ b/ddsp/training/docker/ddsp_ai_platform.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/docker/task.py b/ddsp/training/docker/task.py index f2dc2471..f3f05228 100644 --- a/ddsp/training/docker/task.py +++ b/ddsp/training/docker/task.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/docker/task_test.py b/ddsp/training/docker/task_test.py index da3c4c55..df02d2ee 100644 --- a/ddsp/training/docker/task_test.py +++ b/ddsp/training/docker/task_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/encoders.py b/ddsp/training/encoders.py index 15e53244..54daa022 100644 --- a/ddsp/training/encoders.py +++ b/ddsp/training/encoders.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/eval_util.py b/ddsp/training/eval_util.py index f82a8593..f7f099ee 100644 --- a/ddsp/training/eval_util.py +++ b/ddsp/training/eval_util.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/evaluators.py b/ddsp/training/evaluators.py index 6d89a131..a4ee12c6 100644 --- a/ddsp/training/evaluators.py +++ b/ddsp/training/evaluators.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/gin/__init__.py b/ddsp/training/gin/__init__.py index 941b8629..ac3e7d30 100644 --- a/ddsp/training/gin/__init__.py +++ b/ddsp/training/gin/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/gin/datasets/__init__.py b/ddsp/training/gin/datasets/__init__.py index 941b8629..ac3e7d30 100644 --- a/ddsp/training/gin/datasets/__init__.py +++ b/ddsp/training/gin/datasets/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/gin/eval/__init__.py b/ddsp/training/gin/eval/__init__.py index 941b8629..ac3e7d30 100644 --- a/ddsp/training/gin/eval/__init__.py +++ b/ddsp/training/gin/eval/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/gin/models/__init__.py b/ddsp/training/gin/models/__init__.py index 941b8629..ac3e7d30 100644 --- a/ddsp/training/gin/models/__init__.py +++ b/ddsp/training/gin/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/gin/models/vst/__init__.py b/ddsp/training/gin/models/vst/__init__.py index 941b8629..ac3e7d30 100644 --- a/ddsp/training/gin/models/vst/__init__.py +++ b/ddsp/training/gin/models/vst/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/gin/optimization/__init__.py b/ddsp/training/gin/optimization/__init__.py index 941b8629..ac3e7d30 100644 --- a/ddsp/training/gin/optimization/__init__.py +++ b/ddsp/training/gin/optimization/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/gin/papers/__init__.py b/ddsp/training/gin/papers/__init__.py index 941b8629..ac3e7d30 100644 --- a/ddsp/training/gin/papers/__init__.py +++ b/ddsp/training/gin/papers/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/gin/papers/iclr2020/__init__.py b/ddsp/training/gin/papers/iclr2020/__init__.py index 941b8629..ac3e7d30 100644 --- a/ddsp/training/gin/papers/iclr2020/__init__.py +++ b/ddsp/training/gin/papers/iclr2020/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/gin/papers/icml2020/__init__.py b/ddsp/training/gin/papers/icml2020/__init__.py index 941b8629..ac3e7d30 100644 --- a/ddsp/training/gin/papers/icml2020/__init__.py +++ b/ddsp/training/gin/papers/icml2020/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/heuristics.py b/ddsp/training/heuristics.py index 98828c71..56c60fc1 100644 --- a/ddsp/training/heuristics.py +++ b/ddsp/training/heuristics.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/heuristics_test.py b/ddsp/training/heuristics_test.py index 91666a99..476481d2 100644 --- a/ddsp/training/heuristics_test.py +++ b/ddsp/training/heuristics_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/inference.py b/ddsp/training/inference.py index 74098152..4832bb09 100644 --- a/ddsp/training/inference.py +++ b/ddsp/training/inference.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/metrics.py b/ddsp/training/metrics.py index 81a7bc9c..d9b82f00 100644 --- a/ddsp/training/metrics.py +++ b/ddsp/training/metrics.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/metrics_test.py b/ddsp/training/metrics_test.py index 0a6a0ee2..c6ded967 100644 --- a/ddsp/training/metrics_test.py +++ b/ddsp/training/metrics_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/models/__init__.py b/ddsp/training/models/__init__.py index 87b3107a..8553e31c 100644 --- a/ddsp/training/models/__init__.py +++ b/ddsp/training/models/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/models/autoencoder.py b/ddsp/training/models/autoencoder.py index a9aaff11..22d43a03 100644 --- a/ddsp/training/models/autoencoder.py +++ b/ddsp/training/models/autoencoder.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/models/autoencoder_test.py b/ddsp/training/models/autoencoder_test.py index 4386c061..db90fbef 100644 --- a/ddsp/training/models/autoencoder_test.py +++ b/ddsp/training/models/autoencoder_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/models/inverse_synthesis.py b/ddsp/training/models/inverse_synthesis.py index 2f4cd0e6..e8122dae 100644 --- a/ddsp/training/models/inverse_synthesis.py +++ b/ddsp/training/models/inverse_synthesis.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/models/midi_autoencoder.py b/ddsp/training/models/midi_autoencoder.py index 521559fd..1573cb74 100644 --- a/ddsp/training/models/midi_autoencoder.py +++ b/ddsp/training/models/midi_autoencoder.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/models/model.py b/ddsp/training/models/model.py index 6ba9ecd0..999333f1 100644 --- a/ddsp/training/models/model.py +++ b/ddsp/training/models/model.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/nn.py b/ddsp/training/nn.py index 24eb5c93..891343b2 100644 --- a/ddsp/training/nn.py +++ b/ddsp/training/nn.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ from ddsp import losses import gin import tensorflow as tf -import tensorflow_addons as tfa +from tensorflow_addons.layers import SpectralNormalization import tensorflow_probability as tfp tfk = tf.keras @@ -1102,7 +1102,7 @@ def conv(ch, k, stride=1, dilation=1, transpose=False): padding='same', kernel_initializer=initializer) if spectral_norm: - return tfa.layers.SpectralNormalization(layer) + return SpectralNormalization(layer) else: return layer diff --git a/ddsp/training/nn_test.py b/ddsp/training/nn_test.py index c5bf174d..8e898db1 100644 --- a/ddsp/training/nn_test.py +++ b/ddsp/training/nn_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/plotting.py b/ddsp/training/plotting.py index 9c06cb5f..76fc64ba 100644 --- a/ddsp/training/plotting.py +++ b/ddsp/training/plotting.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/postprocessing.py b/ddsp/training/postprocessing.py index a19df241..a4cc6ff6 100644 --- a/ddsp/training/postprocessing.py +++ b/ddsp/training/postprocessing.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/preprocessing.py b/ddsp/training/preprocessing.py index d5f84519..9f47cf1a 100644 --- a/ddsp/training/preprocessing.py +++ b/ddsp/training/preprocessing.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/preprocessing_test.py b/ddsp/training/preprocessing_test.py index 4d3758c8..79fa2150 100644 --- a/ddsp/training/preprocessing_test.py +++ b/ddsp/training/preprocessing_test.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/summaries.py b/ddsp/training/summaries.py index 7114449d..07c4564d 100644 --- a/ddsp/training/summaries.py +++ b/ddsp/training/summaries.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/train_util.py b/ddsp/training/train_util.py index f77817fc..ec6f4eed 100644 --- a/ddsp/training/train_util.py +++ b/ddsp/training/train_util.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/training/trainers.py b/ddsp/training/trainers.py index c16b4d91..d60c5b9d 100644 --- a/ddsp/training/trainers.py +++ b/ddsp/training/trainers.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/ddsp/version.py b/ddsp/version.py index d6cc9e65..46efacba 100644 --- a/ddsp/version.py +++ b/ddsp/version.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/pylintrc b/pylintrc index f0ffe198..35f72ad3 100644 --- a/pylintrc +++ b/pylintrc @@ -63,6 +63,7 @@ disable=abstract-method, attribute-defined-outside-init, backtick, bad-option-value, + broad-exception-raised, buffer-builtin, c-extension-no-member, consider-using-enumerate, @@ -131,6 +132,7 @@ disable=abstract-method, setslice-method, signature-differs, standarderror-builtin, + superfluous-parens, suppressed-message, sys-max-int, too-few-public-methods, @@ -153,6 +155,7 @@ disable=abstract-method, useless-else-on-loop, useless-object-inheritance, useless-suppression, + use-dict-literal, using-cmp-argument, wrong-import-order, xrange-builtin, @@ -449,6 +452,4 @@ valid-metaclass-classmethod-first-arg=mcs # Exceptions that will emit a warning when being caught. Defaults to # "Exception" -overgeneral-exceptions=StandardError, - Exception, - BaseException +overgeneral-exceptions= diff --git a/setup.py b/setup.py index d73e9436..02961135 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -40,16 +40,17 @@ 'absl-py', 'cloudml-hypertune', 'crepe<=0.0.12', + 'dill<=0.3.4', 'future', 'gin-config>=0.3.0', 'google-cloud-storage', 'hmmlearn<=0.2.7', 'librosa', 'pydub', - 'protobuf<=3.20.*', # temporary fix for proto dependency bug + 'protobuf<=3.20', # temporary fix for proto dependency bug 'mir_eval', 'note_seq<0.0.4', - 'numpy', + 'numpy<1.24', 'scipy', 'six', 'tensorflow', @@ -71,6 +72,7 @@ ], 'test': ['pytest', 'pylint!=2.5.0'], }, + # pylint: disable=line-too-long entry_points={ 'console_scripts': [ 'ddsp_export = ddsp.training.ddsp_export:console_entry_point', @@ -80,6 +82,7 @@ 'ddsp_ai_platform = ddsp.training.docker.ddsp_ai_platform:console_entry_point', ], }, + # pylint: enable=line-too-long classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', diff --git a/update_gin_config.py b/update_gin_config.py index 09c73716..71b6e5f8 100644 --- a/update_gin_config.py +++ b/update_gin_config.py @@ -1,4 +1,4 @@ -# Copyright 2022 The DDSP Authors. +# Copyright 2023 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.