Skip to content

fix the vladbench download bug#1497

Open
Depth2World wants to merge 2 commits intoopen-compass:mainfrom
Depth2World:main
Open

fix the vladbench download bug#1497
Depth2World wants to merge 2 commits intoopen-compass:mainfrom
Depth2World:main

Conversation

@Depth2World
Copy link
Copy Markdown
Contributor

[fix vladbench download bug]

fix the vladbench download bug
Refactor initialization of IMAGE_DIR to use local_dir variable.
Copy link
Copy Markdown
Collaborator

@mzr1996 mzr1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And please fix the lint.

def __init__(self, *args, **kwargs):
if self.IMAGE_DIR is None:
self.IMAGE_DIR = get_vladbench_image_dir(self.IMAGE_DIR)
local_dir = None # your_localdir/VLADBench/
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The local_dir variable should be a parameter; otherwise, users have to change the source code to assign the variable.

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

Successfully merging this pull request may close these issues.

2 participants