Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

update LICENSE #15128

Merged
merged 15 commits into from
Jun 7, 2019
Merged

update LICENSE #15128

merged 15 commits into from
Jun 7, 2019

Conversation

roywei
Copy link
Member

@roywei roywei commented Jun 3, 2019

Description

As suggested in 1.4.1 release dev list discussion, replacing MNIST url to canonical URL. https://lists.apache.org/thread.html/0cb2131f2506661a884f89d8419aba08298cbc50aaeeda06e41e530f@%3Cdev.mxnet.apache.org%3E

and update the license for datasets used in examples.

Checklist

Essentials

Please feel free to remove inapplicable items for your PR.

  • The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
  • Changes are complete (i.e. I finished coding on this PR)
  • All changes have test coverage:
  • Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
  • Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
  • Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
  • Code is well-documented:
  • For user-facing API changes, API doc string has been updated.
  • For new C++ functions in header files, their functionalities and arguments are documented.
  • For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
  • Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
  • To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

  • Feature1, tests, (and when applicable, API doc)
  • Feature2, tests, (and when applicable, API doc)

Comments

  • If this change is a backward incompatible change, why must this change be made.
  • Interesting edge cases to note here

@roywei roywei requested a review from nswamy as a code owner June 3, 2019 00:45
Copy link
Member

@wkcn wkcn left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for the fix!

@roywei roywei requested a review from szha as a code owner June 4, 2019 06:34
@roywei roywei changed the title change data url update LICENSE Jun 4, 2019
@roywei
Copy link
Member Author

roywei commented Jun 4, 2019

@zachgk @lanking520 could you help review the license? Thanks!

LICENSE Outdated
@@ -276,6 +276,7 @@
Copyright (c) 2015 by Contributors
Copyright 1984, 1987, 1992 by Stephen L. Moshier

27. CNN Text Classification Example - For details, see example/cnn_text_classification/data_helpers.py
Copy link
Contributor

Choose a reason for hiding this comment

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

The LICENSE file is more specifically our source release license. It should only refer to things which are bundled as part of the source release (http://www.apache.org/dev/licensing-howto.html). Maybe we could move this to a separate DATASET_LICENSE file?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm changing the dataset license link as a comment of the code that downloads it. As these dataset are not bit included in our distribution, and should not be included in top level LICENSE file.

LICENSE Outdated
@@ -349,6 +350,19 @@
Copyright 2012 Continuum Analytics, Inc.


=======================================================================================
Creative Commons Attribution 4.0 International (CC BY 4.0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Note that there are 6 different licenses as part of CC BY 4.0 (https://creativecommons.org/licenses/). It is important to know which one because some of them will prevent commercial usage, prevent derivative works, or require others to use the same license.

Copy link
Member Author

Choose a reason for hiding this comment

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

provided link to exact license statement at the place that downloads it.

@@ -101,7 +101,19 @@ def download_imdb(data_dir='/tmp/data'):
'''
Download and extract the IMDB dataset
'''
url = ('http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz')
# dataset from http://ai.stanford.edu/~amaas/data/sentiment/
Copy link
Contributor

Choose a reason for hiding this comment

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

While it is good to include the full citation here, also add the information on licensing and copyrights to the README or whatever docs people read which tells them to download the data. The idea is that some of these licenses actually have consequences. For example, we don't want to let commercial users accidentally work with a non-commercial dataset. So, our goal is to make sure that any time we inform users about a dataset, we also explain what legal requirements come with that dataset as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

There is not license or copy right for this dataset, only citation requriement.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just say the copyright is whatever person or group seems to have created it. And, say that they require attribution in place of the usual license name (but link to the request)

@piyushghai
Copy link
Contributor

Thanks for your contributions @roywei .
@mxnet-label-bot Add [pr-awaiting-review, Licenses]

@marcoabreu marcoabreu added Licenses pr-awaiting-review PR is waiting for code review labels Jun 4, 2019
example/gluon/style_transfer/dataset/download_dataset.py Outdated Show resolved Hide resolved
example/gluon/embedding_learning/get_cub200_data.sh Outdated Show resolved Hide resolved
@@ -26,6 +26,8 @@ def unzip_file(filename, outpath):
z.extract(name, outpath)
fh.close()

Copy link
Contributor

Choose a reason for hiding this comment

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

We need to also put the information below in the corresponding documents. In this case, it would be example/gluon/style_transfer/README.md.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

@@ -101,7 +101,19 @@ def download_imdb(data_dir='/tmp/data'):
'''
Download and extract the IMDB dataset
'''
url = ('http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz')
# dataset from http://ai.stanford.edu/~amaas/data/sentiment/
Copy link
Contributor

Choose a reason for hiding this comment

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

Just say the copyright is whatever person or group seems to have created it. And, say that they require attribution in place of the usual license name (but link to the request)

@roywei
Copy link
Member Author

roywei commented Jun 5, 2019

@zachgk I have added both at source code and README. Also added copyright

@eric-haibin-lin eric-haibin-lin merged commit 6c00a5a into apache:master Jun 7, 2019
roywei added a commit to roywei/incubator-mxnet that referenced this pull request Jun 7, 2019
* update license

* update license

* fix typo

* update license

* add comment

* Update example/gluon/style_transfer/dataset/download_dataset.py

Co-Authored-By: Zach Kimberg <[email protected]>

* Update example/gluon/embedding_learning/get_cub200_data.sh

Co-Authored-By: Zach Kimberg <[email protected]>

* update license

* add license

* trigger ci

* fix large tensor

* update copy right

* fix wrong commit

* fix

* trigger
szha pushed a commit that referenced this pull request Jun 7, 2019
* update license

* update license

* fix typo

* update license

* add comment

* Update example/gluon/style_transfer/dataset/download_dataset.py

Co-Authored-By: Zach Kimberg <[email protected]>

* Update example/gluon/embedding_learning/get_cub200_data.sh

Co-Authored-By: Zach Kimberg <[email protected]>

* update license

* add license

* trigger ci

* fix large tensor

* update copy right

* fix wrong commit

* fix

* trigger
haohuanw pushed a commit to haohuanw/incubator-mxnet that referenced this pull request Jun 23, 2019
* update license

* update license

* fix typo

* update license

* add comment

* Update example/gluon/style_transfer/dataset/download_dataset.py

Co-Authored-By: Zach Kimberg <[email protected]>

* Update example/gluon/embedding_learning/get_cub200_data.sh

Co-Authored-By: Zach Kimberg <[email protected]>

* update license

* add license

* trigger ci

* fix large tensor

* update copy right

* fix wrong commit

* fix

* trigger
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Licenses pr-awaiting-review PR is waiting for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants