Coder Social home page Coder Social logo

Comments (3)

blshkv avatar blshkv commented on August 25, 2024 1

I'm seeing a similar issue. colorconv.py belongs to sci-libs/scikits_image-0.12.3:

Setting ab cluster centers in layer: pred_ab
Setting upsampling layer kernel: pred_313_us
test_imgs/mortar_pestle.jpg
scale = 2.000000
Traceback (most recent call last):
  File "/home/Downloads/ideepcolor/ui/gui_palette.py", line 85, in mousePressEvent
    self.update_ui(color_id)
  File "/home/Downloads/ideepcolor/ui/gui_palette.py", line 78, in update_ui
    color = self.colors[color_id]
TypeError: 'NoneType' object has no attribute '__getitem__'
('mouse press', PyQt4.QtCore.QPoint(327, 241))
/usr/lib64/python2.7/site-packages/skimage/color/colorconv.py:901: UserWarning: Color data out of range: Z < 0 in 21507 pixels
  warn('Color data out of range: Z < 0 in %s pixels' % invalid[0].size)
set_ab x, y = 160, 159
process add Point
('image_size', (512, 432))
add (point) with win_size 512.000, load_size 256.000
add user edit 1

Traceback (most recent call last):
  File "/home/Downloads/ideepcolor/ui/gui_draw.py", line 209, in change_color
    x, y = self.scale_point(pos)
  File "/home/Downloads/ideepcolor/ui/gui_draw.py", line 185, in scale_point
    x = int((pnt.x() - self.dw) / float(self.win_w) * self.load_size)
AttributeError: 'bool' object has no attribute 'x'
('mouse press', PyQt4.QtCore.QPoint(119, 298))

from interactive-deep-colorization.

richzhang avatar richzhang commented on August 25, 2024

This is okay, it happens. Thanks!

from interactive-deep-colorization.

junyanz avatar junyanz commented on August 25, 2024

@blshkv I cannot reproduce the AttributeError: 'bool' object has no attribute 'x' bug you mentioned. Could you tell me how to produce it?

from interactive-deep-colorization.

Related Issues (20)

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.