You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Great tool, thanks for that.
I installed it with mamba on windows 10 plateform. Everything is Ok but when i try to use 'Channel Histogram' or 'Quality Estimation' i receive the error messages below. (i tried different picture format jpg bmp webp png)
I have the mathplotlib version 3.6.0 like asked in requirments.txt and python=3.8.15
all the version in requirments.txt are the same, except that i had to remove python-magic and installed python-magic-bin=0.4.14 as explained here #46 (comment)
Thanks for any help.
Channel Histogram:
(sherloq) D:\AI\FakeDetect\sherloq\gui>python sherloq.py
WARNING:tensorflow:From C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\tensorflow\python\compat\v2_compat.py:107: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
Traceback (most recent call last):
File "sherloq.py", line 347, in open_tool
tool_widget = HistWidget(self.image)
File "D:\AI\FakeDetect\sherloq\gui\histogram.py", line 105, in init
self.redraw()
File "D:\AI\FakeDetect\sherloq\gui\histogram.py", line 165, in redraw
self.axes.fill_between(x, y, alpha=alpha, facecolor="k", step=step)
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib_init_.py", line 1423, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\axes_axes.py", line 5335, in fill_between
return self._fill_between_x_or_y(
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\axes_axes.py", line 5263, in fill_between_x_or_y
for idx0, idx1 in cbook.contiguous_regions(where):
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\cbook_init.py", line 1333, in contiguous_regions
idx, = np.nonzero(mask[:-1] != mask[1:])
IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed
Quality Estimation
Traceback (most recent call last):
File "sherloq.py", line 387, in open_tool
tool_widget = QualityWidget(self.filename, self.image)
File "D:\AI\FakeDetect\sherloq\gui\quality.py", line 41, in init
axes.fill_between(x, y * 100, alpha=0.2)
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib_init_.py", line 1423, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\axes_axes.py", line 5335, in fill_between
return self._fill_between_x_or_y(
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\axes_axes.py", line 5263, in fill_between_x_or_y
for idx0, idx1 in cbook.contiguous_regions(where):
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\cbook_init.py", line 1333, in contiguous_regions
idx, = np.nonzero(mask[:-1] != mask[1:])
IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed
The text was updated successfully, but these errors were encountered:
I installed it with mamba on windows 10 platform. Everything is Ok but when i try to use 'Channel Histogram' or 'Quality Estimation' i receive the error messages below. (i tried different picture format jpg bmp webp png)
Ok, thanks for the detailed report, I will look into that as soon as possible, I have to setup a Windows VM to try it out, because at the moment I only have Linux on my PCs.
Hi, Great tool, thanks for that.
I installed it with mamba on windows 10 plateform. Everything is Ok but when i try to use 'Channel Histogram' or 'Quality Estimation' i receive the error messages below. (i tried different picture format jpg bmp webp png)
I have the mathplotlib version 3.6.0 like asked in requirments.txt and python=3.8.15
all the version in requirments.txt are the same, except that i had to remove python-magic and installed python-magic-bin=0.4.14 as explained here #46 (comment)
Thanks for any help.
(sherloq) D:\AI\FakeDetect\sherloq\gui>python sherloq.py
WARNING:tensorflow:From C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\tensorflow\python\compat\v2_compat.py:107: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
Traceback (most recent call last):
File "sherloq.py", line 347, in open_tool
tool_widget = HistWidget(self.image)
File "D:\AI\FakeDetect\sherloq\gui\histogram.py", line 105, in init
self.redraw()
File "D:\AI\FakeDetect\sherloq\gui\histogram.py", line 165, in redraw
self.axes.fill_between(x, y, alpha=alpha, facecolor="k", step=step)
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib_init_.py", line 1423, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\axes_axes.py", line 5335, in fill_between
return self._fill_between_x_or_y(
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\axes_axes.py", line 5263, in fill_between_x_or_y
for idx0, idx1 in cbook.contiguous_regions(where):
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\cbook_init.py", line 1333, in contiguous_regions
idx, = np.nonzero(mask[:-1] != mask[1:])
IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed
Traceback (most recent call last):
File "sherloq.py", line 387, in open_tool
tool_widget = QualityWidget(self.filename, self.image)
File "D:\AI\FakeDetect\sherloq\gui\quality.py", line 41, in init
axes.fill_between(x, y * 100, alpha=0.2)
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib_init_.py", line 1423, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\axes_axes.py", line 5335, in fill_between
return self._fill_between_x_or_y(
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\axes_axes.py", line 5263, in fill_between_x_or_y
for idx0, idx1 in cbook.contiguous_regions(where):
File "C:\Users\Did\mambaforge\envs\sherloq\lib\site-packages\matplotlib\cbook_init.py", line 1333, in contiguous_regions
idx, = np.nonzero(mask[:-1] != mask[1:])
IndexError: too many indices for array: array is 0-dimensional, but 1 were indexed
The text was updated successfully, but these errors were encountered: