Skip to content

Reproduce the table 2 of paper in description #4

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

Melvin-klein
Copy link
Member

@Melvin-klein Melvin-klein marked this pull request as draft April 14, 2025 08:39
@@ -32,7 +32,7 @@ class Objective(BaseObjective):
# solvers or datasets should be declared in Dataset or Solver (see
# simulated.py and python-gd.py).
# Example syntax: requirements = ['numpy', 'pip:jax', 'pytorch:pytorch']
requirements = ["pytorch", "numpy", "deepinv"]
requirements = ["pytorch", "numpy", "deepinv", "pyiqa"]
Copy link
Member

Choose a reason for hiding this comment

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

Why do you need this?

self.folder = folder
self.transform = transform
self.files = [f for f in os.listdir(folder) if f.endswith((
'.png', '.jpg', '.jpeg'))]

if num_images is not None:
self.files.sort()
self.files = random.sample(self.files, num_images)
Copy link
Member

Choose a reason for hiding this comment

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

Is this whithout replacement?

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