Giter Club home page Giter Club logo

Comments (6)

emilybelnavis avatar emilybelnavis commented on September 27, 2024 1

try passing the debug setting as a dictionary

to get all the info:

settings = {'debug': {}}

image_to_color = ImageToColor(npz['samples'], npz['labels'], settings)

to get just the color name:

settings = { 'debug': None }

image_to_color = ImageToColor(npz['samples'], npz['labels'], settings)

from color-extractor.

shahidammer avatar shahidammer commented on September 27, 2024

@newpokemon did you get to solve the issue? Stuck with the same thing

from color-extractor.

gauthamk28 avatar gauthamk28 commented on September 27, 2024

I am also getting the same error , someone please help to fix this error
Thanks in advance

from color-extractor.

aliabdullah176 avatar aliabdullah176 commented on September 27, 2024

Same error, any idea whats going wrong?

from color-extractor.

youngseungjeon avatar youngseungjeon commented on September 27, 2024

I' have also same issuse. so, I've tried CLI on jupyter noteobok as below.

import os
import pandas as pd

files= os.listdir("./imgs")

img_name= []
colors= []

for i in files:
    order= "./color-extractor color_names.npz ./imgs/"+i
    result= !{order}
    
    img_name.append(i)
    colors.append(result)

df= pd.DataFrame({"img_name":img_name, "colors": colors})

from color-extractor.

Anishauday avatar Anishauday commented on September 27, 2024

Screenshot 2021-01-22 125421
I'm getting the above error. Can anyone help how extract the color details?

from color-extractor.

Related Issues (11)

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.