Skip to content
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

Urgent:how to make train_file.txt #12

Open
anjali1601 opened this issue Nov 18, 2017 · 12 comments
Open

Urgent:how to make train_file.txt #12

anjali1601 opened this issue Nov 18, 2017 · 12 comments

Comments

@anjali1601
Copy link

Please tell how to make this train_file.txt for ALOV and imagenet?? or it is already available?

@subhadip3
Copy link

@anjali1601 did u figure it out?
@tangyuhao please reply

@anjali1601
Copy link
Author

@subhadip3 No i have not yet find out how to make train_set.txt for ALOV dataset? one file(train_set.txt) is already in ZIP that is for imagenet and ALOV for both?

@subhadip3
Copy link

Ok, I went along with cropping ALOV images and put them in target and searching folders for training.

@anjali1601
Copy link
Author

i didnt get it.. please tell me what is train_set.txt file? I have ALOV and imagenet dataset ..now what will be the next step to run this program?

@subhadip3
Copy link

Along with ALOV images you will also find bounding box data there. Just crop the images to 2X the size of bounding boxes to obtain searching and target images(do it as described in paper). Then create your own train_set.txt file with image names(target and searching) and bounding box positions in each line and run the program

@anjali1601
Copy link
Author

thank you so much..I will look into this..Also what about imagenet (47GB) ?

@subhadip3
Copy link

I am only using ALOV right now :)

@anjali1601
Copy link
Author

Thank you so much :)

@anjali1601
Copy link
Author

@subhadip3 have u successfully implemented this? I have cropped the ALOV images using linear interpolation. I am confused how to make train file:
Example of one line: train/target/000024.jpg, train/searching/000024.jpg, 0.29269230769230764, 0.22233115468409587, 0.7991794871794871, 0.7608061002178649

are these target and search folders have same images? and these bounding boxes is of search image or target image? and how these bounding box will be calculated?

@anjali1601
Copy link
Author

@subhadip3 please reply

@subhadip3
Copy link

@anjali1601 Sorry for the late reply.
The target folder should contain crops where the object is centred and the searching folder should contain random crops such that the corresponding object is not always centred. While making these random crops note the position of the bounding boxes wrt these new crops and scale them so that they lie between 0-1. As mentioned in the paper I have made sure to only include crops that include atleast 50% of the object.

@anjali1601
Copy link
Author

@subhadip3 thank you so much for your help :)

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

No branches or pull requests

2 participants