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

Questions about the class LIPParsingEdgeDateset #19

Open
zzw1123 opened this issue Jan 19, 2019 · 4 comments
Open

Questions about the class LIPParsingEdgeDateset #19

zzw1123 opened this issue Jan 19, 2019 · 4 comments

Comments

@zzw1123
Copy link

zzw1123 commented Jan 19, 2019

Hi, I have noticed the class LIPParsingEdgeDateset in datasets.py is implemented by following method:

self.img_ids = [i_id.strip().split() for i_id in open (list_path)] 
if not max_iters==None:
    self.img_ids = self.img_ids * int(np.ceil(float(max_iters) / len(self.img_ids)))

max_iters=batch_size*total_iters which means if there are 1000 images in the whole dataset, it's going to be max_iters images now, so if I change the batch_size, the total number of images to be trained will be different. Am I right?

@liutinglt
Copy link
Owner

@zzw1123 You are right, we train about 150 epochs to achieve the reported results. Now, please use the updated code.

@zzw1123
Copy link
Author

zzw1123 commented Feb 27, 2019

@liutinglt Thank you so much! I will update my code.

@zzw1123
Copy link
Author

zzw1123 commented Feb 27, 2019

@liutinglt I noticed that the size of input image is changed to '384,384', right?

@liutinglt
Copy link
Owner

@zzw1123 The size with '384,384' already can achieve the reported performance. The edge is generated automatically, now you can change it to any size.

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