8000 TypeError: _open() got an unexpected keyword argument 'as_grey' · Issue #5008 · scikit-image/scikit-image · GitHub
[go: up one dir, main page]

10000
Skip to content
TypeError: _open() got an unexpected keyword argument 'as_grey' #5008
@alinasahoo

Description

@alinasahoo

TypeError: _open() got an unexpected keyword argument 'as_grey'

As I am new to scikit-image, I am unable to understand what went wrong here. So, just adding the following files here:

I am successfully able to read the image file in RGB format but not in grayscale format. This is the error that I am getting. I also checked the official documentation and it showed that the syntax is as follows:

skimage.io.imread(fname, as_gray=False, plugin=None, **plugin_args)

Here, I am unable to understand the argument **plugin_args. Updating the necessary files:

TypeError
Error2

Version Information:

VersionInfo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0