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
Generalising FakeData #8344
base: main
Are you sure you want to change the base?
Generalising FakeData #8344
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/8344
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New FailuresAs of commit 3099a07 with merge base d868be9 (): NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Hi @ctr26! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
Thanks for the PR @ctr26 , but what is the benefit of |
Thank you for your question regarding the benefit of The key advantage lies in its compatibility with testing environments that utilise The alternative being hacky solutions like downloading stock datasets like celeba as a mock, which seems excessive. Thanks Craig |
Thanks for the details. IIUC you just need the signature of Instead of creating a new class, would it be enough for your use-case to add |
That would an easier solution yes. My only concern there was that it would have unforeseen downstream effects. I've pushed the changes |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
Thanks for the feedback @ctr26 . I'm still not sure I completely understand why class MyFakeData(FakeData):
def __init__(self, ..., *kwargs):
super().__init__(...) |
Hi all,
I've added a convenience module for creating a fake image folder in torch vision. I recently needed to create a mock folder and this can be a little painful without a FakeImage folder like this
Thanks
Craig