pmh9960 / iColoriT

Official PyTorch implementation of "iColoriT: Towards Propagating Local Hint to the Right Region in Interactive Colorization by Leveraging Vision Transformer." (WACV 2023)
MIT License
68 stars 14 forks source link

TypeError: arguments did not match any overloaded call thrown when I attempt to click on the gui. #10

Closed Shahab-Ahmed closed 1 year ago

Shahab-Ahmed commented 1 year ago

The demo launchs fine but, when I click on the drawing pad side to give a user input, the following error is thrown:

File "iColoriT_demo\gui\gui_gamut.py", line 74, in paintEvent painter.drawLine(x - w, y, x + w, y) TypeError: arguments did not match any overloaded call: drawLine(self, QLineF): argument 1 has unexpected type 'float' drawLine(self, QLine): argument 1 has unexpected type 'float' drawLine(self, int, int, int, int): argument 1 has unexpected type 'float' drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'float' drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'float'