Giter Site home page Giter Site logo

colour-science / colour-datasets Goto Github PK

View Code? Open in Web Editor NEW
54.0 9.0 12.0 1.11 MB

Colour science datasets for use with Colour

Home Page: https://www.colour-science.org

License: BSD 3-Clause "New" or "Revised" License

Python 96.10% TeX 3.90%
color color-science color-space color-spaces colorspace colorspaces colour colour-science colour-space colour-spaces

colour-datasets's Introduction

Hi! We are colour-science ๐Ÿ‘‹

We are the maintainers of Colour and the related projects at colour-science.

Colour is our contribution to Open Source Software with a library that people can use to validate their colorimetric computations and grow their knowledge about light and colour: Google engineers used it to improve Youtube colour processing correctness!

We are also involved with many Open Source Software projects such as the Academy Color Encoding System (ACES) or OpenColorIO and try to spread as much as possible the knowledge about colorimetry.

Social

colour-datasets's People

Contributors

kelsolaar avatar pre-commit-ci[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

colour-datasets's Issues

[BUG]: Zenodo API calls for colour-datasets return 404

Description

Hi,

I'm not sure if it has anything to do with the last week's Zenodo update, but it appears that the API calls to Zenodo are all failing now. I can't list the datasets or download any of them. I'm still not 100% sure if it's an issue on my side, but I still wanted to report it as I can reproduce it on different environments and internet connections.

Code for Reproduction

import colour_datasets

print(colour_datasets.datasets())

Exception Message

An error occurred while opening "https://zenodo.org/api/records/?q=communities:colour-science-datasets&size=512" url during attempt 1, retrying...
An error occurred while opening "https://zenodo.org/api/records/?q=communities:colour-science-datasets&size=512" url during attempt 2, retrying...
An error occurred while opening "https://zenodo.org/api/records/?q=communities:colour-science-datasets&size=512" url during attempt 3, retrying...
/usr/local/lib/python3.10/dist-packages/colour/utilities/verbose.py:262: ColourWarning: Retrieving the "{0}" community data failed after {1} attempts, attempting to use cached local data!

Environment Information

===============================================================================
*                                                                             *
*   Interpreter :                                                             *
*       python : 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]           *
*                                                                             *
*   colour-science.org :                                                      *
*       colour : 0.4.3                                                        *
*       colour-datasets : 0.2.2                                               *
*                                                                             *
*   Runtime :                                                                 *
*       imageio : 2.31.5                                                      *
*       matplotlib : 3.7.1                                                    *
*       networkx : 3.1                                                        *
*       numpy : 1.23.5                                                        *
*       pandas : 1.5.3                                                        *
*       scipy : 1.11.3                                                        *
*       tqdm : 4.66.1                                                         *
*       xxhash : 3.4.1                                                        *
*                                                                             *
===============================================================================

[BUG]: error upon import after upgrading from colour-datasets 0.2.1 to 0.2.2

Description

after upgrading from colour-datasets 0.2.1 to colour-datasets 0.2.2
I receive an error upon import colour_datasets

It might be related to the warning on xlrd


This library will no longer read anything other than .xls files. 
For alternatives that read newer file formats, please see http://www.python-excel.org/.

Please note that my xlrd package is not yet at 2.0.1. but at 1.2.0, as in colour-datasets/requirements.txt

# packages in environment 
#
# Name                    Version                   Build  Channel
xlrd                      1.2.0                    pypi_0    pypi

Code for Reproduction

import colour,colour_datasets

Exception Message

---> 42 xlrd.xlsx.ensure_elementtree_imported(False, None)
     43 xlrd.xlsx.Element_has_iter = True
     46 def _column_number_to_letters(number: int) -> str:

AttributeError: module 'xlrd' has no attribute 'xlsx'

Environment Information

===============================================================================
*                                                                             *
*   Interpreter :                                                             *
*       python : 3.10.12 | packaged by conda-forge | (main, Jun 23 2023,      *
*   22:34:57) [MSC v.1936 64 bit (AMD64)]                                     *
*                                                                             *
*   colour-science.org :                                                      *
*       colour : 0.4.3                                                        *
*                                                                             *
*   Runtime :                                                                 *
*       imageio : 2.31.5                                                      *
*       matplotlib : 3.5.3                                                    *
*       numpy : 1.24.3                                                        *
*       pandas : 2.1.1                                                        *
*       scipy : 1.11.3                                                        *
*       tqdm : 4.65.0                                                         *
*                                                                             *
===============================================================================

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.