-
Notifications
You must be signed in to change notification settings - Fork 5
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
[ ReadMe: Object Detection Experiments ] #4
Comments
Thanks for your attention to our work.
|
Hi, this is interesting work. How did you create the forget and retain datasets for each class? COCO images come with multiple instances of objects; how did you make the split to forget a particular category |
@NilakshanKunananthaseelan Thanks for your interest, that is an excellent question. Here is an example of how we construct the dataset. Let's say we have a cat and a dog in our picture. |
The link you provided for pre-trained Face Transformer is not working; it says "Access Denied." I would like to ask: How can I create a file structure like the following for ImageNet?
I am unable to find the test and train folders for ImageNet, as well as the |
Thanks for your question. We set the wrong access permission. Sorry about that, we have already changed it. You can access to it now. For the imagenet100 dataset, we should change the name of the folders in the picture below. Change 4 train.X1/2/3/4 folders to train and the val.X folder to test. For the imagenet_classes.txt, I think we can use this https://github.com/pytorch/hub/blob/master/imagenet_classes.txt. If it works, please tell me. If you have other questions, feel free to leave a message. Thanks again for your questions! |
Thank you for updating the access permissions. I can access the link now. Regarding the ImageNet100 dataset, I will rename the following folders accordingly:
So, can I rename solely one of the datasets as train, instead of renaming all of them? For imagenet_classes.txt, I will try using the file from this GitHub link. If it works as expected, I will let you know. I appreciate your prompt response! I have another question: Do I need to create a folder named ViT-P8S8_casia100_cosface_s1-1200-150de-depth6new? Should I place the downloaded ViT-P8S8_casia100_cosface_s1-1200-150de-depth6new inside it as follows?
Where can I find config.txt? |
Thanks for your reply. |
You should move all the subfolders in train.X1,2,3,4 to a new folder named train. train.X1 just part of the total training images. You need to create a folder named ViT-P8S8_casia100_cosface_s1-1200-150de-depth6new. config.txt is just a config file when we pretrain our models, we do not need it. |
That depends. We should consider whether we want to forget the cat at the same time. Please refer to the example I mentioned before. If you refer to the case that we want to forget the dog and keep the cat, in the forgotten dataset, we ignore the annotation for the cat in that image. You are correct. |
"Code is in run_sub.sh
test_sub.sh is the test code for our Face Transformer. You can test the pre-trained model use it.
What does this do? I tried running it, but it gave a pipeline error without the WAN database. With the WAN database, it didn't run properly I assume. Please look below: |
Understood. Please consider updating the file structure in the README to ensure clarity, as I found the folder structure and training folders confusing, and others might do as well. Thank you for your response and for the work you have done and continue to do on the repository. |
Sorry, I do not understand your question based on these three images. run_sub.sh is used to pretrain the model. If you download it from the Google link, you do not need it. |
I want to train my own model. How do I do it? Can you guide me a little? |
@jedapaw For your second question, I guess you are using multiple GPUs, please use a single GPU. Only the pretrain code can support multiple GPUs, other codes can only run using one GPU. |
Hi @bjzhb666 ,
Thanks a lot for releasing the code.
I have been closely studying your implementation and have a couple of questions that I hope you can help clarify:
Difference between
train_own_forget_cl.py
andtrain_own_forget.py
:I noticed that there are two seemingly similar scripts in the repository:
train_own_forget_cl.py
andtrain_own_forget.py
. Could you please elaborate on the specific differences between these two files? It would be helpful to understand their distinct purposes and when each script should be used.Reproducing Object Recognition Results with DETR:
I am particularly interested in reproducing the object recognition results you achieved using DETR. Could you provide more detailed instructions or a guide on how to set up and execute the code for this task?
Loss function:
Why do you freeze the loss function parameters ?
Thank you once again for your impressive work and for any assistance you can provide.
The text was updated successfully, but these errors were encountered: