Skip to content

Mismatch in Function Arguments for get_imagereward_for_dir() #2

@Jenlybein

Description

@Jenlybein

In the aesthetics/evaluate.py file, in the get_aesthetic_scores() function: here it calls get_imagereward_for_dir(cache_dir, n_div=60).

However, when checking the function definition in image_reward.py, the get_imagereward_for_dir() function only accepts the image_directory parameter and does not accept the n_div parameter.

在 aesthetics/evaluate.py 的 get_aesthetic_scores() 函数中:这里调用 get_imagereward_for_dir(cache_dir, n_div=60)

但是查看 image_reward.py 中的函数定义,get_imagereward_for_dir() 函数只接受一个参数 image_directory,不接受 n_div 参数。


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions