-
Notifications
You must be signed in to change notification settings - Fork 65
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
Allowing an option to reproduce the code but on arbitrary datasets #3
Comments
Yes it’s possible. It’s just code. All code can be modified.
…On Fri, Nov 20, 2020 at 11:14 PM hockman1 ***@***.***> wrote:
Hi is it possible to allow an option for users to input their own dataset
into the model rather than the default CIFAR10 and MNIST? If not, is there
a minimal way that we can modify the scripts to accommodate our own
datasets, especially inputs that are not image based , eg 1D arrays?
Thanks!!!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHVQHF434T4ZVUB2MVBAYDSQ5EEVANCNFSM4T5R3VWA>
.
|
Thanks for your interest in the code! It is indeed a good suggestion to create an option to run the method with arbitrary datasets. I’ll try to look into whether I can make something like that, although unfortunately I won’t have time at least until next week. For now, let me point out a few things that might be helpful in this regard:
Hope this helps a bit. |
Thank you very much for the explanation! I have a question though; it seems like the get_multitask_experiment() returns something like : Dataset MNIST and after looking deeper, the code seems to be calling from torchvision.datasets.MNIST. So does this mean that I need to convert my dataset to some form of module similar to that? Thanks! |
Sorry for the late reply to your follow-up question! (To explain the late reply, I got a notification when you initially posted your reply, but not when you edited it.) To use this code on another dataset, you will indeed need to modify the “get_multitask_experiment()”-function. I guess there are two options. |
Hi @GMvandeVen , I had a doubt regarding this, let's say I add a custom image dataset to your framework. Then, should I use pre-trained convolution layers for the custom dataset? Or, are they (pre-trained layers) specific for CIFAR100 dataset? |
Hi, the pre-trained convolutional layers used in this repository are not necessarily specific for the CIFAR-100 dataset, but at the same time they might also not be the best choice for other image datasets. The convolutional layers I used were pre-trained on the CIFAR-10 dataset, which has a similar type of images to the CIFAR-100 dataset. For other type of image datasets (e.g., with larger input images), it might thus be a good idea to replace the convolutional layers with a different feature extractor. |
Thanks for the early reply @GMvandeVen ! I get it now. |
In principle, the flag brain-inspired-replay/options.py Line 280 in cf35a50
In my code the other algorithms do not use pre-trained convolutional layers by default, but in the comparisons on CIFAR-100 reported in the paper all compared algorithms did use the same pre-trained convolutional layers. |
I got it. Thanks! @GMvandeVen |
Hi is it possible to allow an option for users to input their own dataset into the model rather than the default CIFAR10 and MNIST? If not, is there a minimal way that we can modify the scripts to accommodate our own datasets, especially inputs that are not image based , eg 1D arrays? Thanks!!!
The text was updated successfully, but these errors were encountered: