Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: montage() got an unexpected keyword argument 'grayscale' #18

Closed
RuoyuChen10 opened this issue Apr 26, 2021 · 1 comment
Closed

Comments

@RuoyuChen10
Copy link

Thanks for your perfect project.

In version 0.8.16 I run the code:

img_montage = vipy.visualize.montage(imlist, 112, 112, grayscale=False, skip=False, border=1)

However, it seems that the keyword grayscale is changed, that raise error:

TypeError: montage() got an unexpected keyword argument 'grayscale'

I wonder in version 0.8.16, how to adjust?

Looking forward to your reply, thx.

@jebyrne
Copy link
Member

jebyrne commented Apr 26, 2021

The keyword argument "greyscale" for the function vipy.visualize.montage was deprecated in vipy-0.6.0. Given that you are using vipy-0.8.16, I can infer that you are attempting to run the explainable face recognition demos from https://github.com/stresearch/xfr. It looks like there is a bug in the XFR demo code, which I have fixed. Thanks for reporting.

@jebyrne jebyrne closed this as completed Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants