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

how to prepare the training samples for RL training #3

Open
likelyzhao opened this issue Jun 29, 2018 · 4 comments
Open

how to prepare the training samples for RL training #3

likelyzhao opened this issue Jun 29, 2018 · 4 comments

Comments

@likelyzhao
Copy link

I have tried training the RL phase model with the baseline training samples(recs) , but it seems that the training sample preparing is different between RL training and baseline, could you share the data preprocessing scripts for RL training thank you

@SMCamila
Copy link
Contributor

Please refer RL/batch_provider.py, we random select (id, cam) sequence pairs and then random select frames
from these two sequences.

@likelyzhao
Copy link
Author

I see it, so what's the format of input params of batch_provider? it seems to need a recordio file with labels and an lst file parsed from a txt file. I have no idea about the contents of these files, could you give me some more details? thank you

@SMCamila
Copy link
Contributor

SMCamila commented Jul 2, 2018

The first term input of batch_provider is a image record iterator, the second term is an lst file which is the same file to the lst file provided to the first term. I think this part is similar to the setting in baseline program. Tell me if it is still not clear. Thank you.

@likelyzhao
Copy link
Author

what‘s in this txt file which used in valid_lst = np.loadtxt('%s/recs/%s.txt'%(args.data_dir, args.valid_set)).astype(int) ? I used the lst file provided to the first term but dose not work .

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