-
Notifications
You must be signed in to change notification settings - Fork 107
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
Inference dimension #51
Comments
@nothinglo According to #18 I should make a prediction for global and local features separately, can you describe this more detailed? |
I have the same problem,who can help me thanks |
hello,https://gist.github.com/laol777/a8c6034c3b24e2b3f92cfca2c691312f
thank for your help this link has failed. Can you pass it on again?
laol <notifications@github.com> 于2019年3月21日周四 下午11:45写道:
… I figured out the solution:
1. replace FLAGS['data_image_size'], 512 to None, in DATA.py file
2. will run model retraining
3. run this
https://gist.github.com/laol777/0ac74698317f890b9a087e354d358239
4. then this
https://gist.github.com/laol777/a8c6034c3b24e2b3f92cfca2c691312f
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#51 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH-KSIPNsvNvO-rlAvnxt4tWq1m-YX46ks5vY6kAgaJpZM4acNt_>
.
|
Sorry, i created the wrong snippet, exactly by this reason i deleted it. I will be able to provide correct one in next couple days, please push me, if i will forget about this |
@laol777 Looking forward to your results, you will save my ass |
@sangenan This is the main idea, it's quite hard to wrap this code in a good way, so I will put it as is. if you will have any question, feel free to ask.
the sense of this code is computation global features for image with 512x512 shapes and local features for arbitrary size image. |
@laol777 I'll try it today. Thank you again |
@laol777 Thanks again , I have some doubts. How should I use this code? could you provide detailed steps and code? Consider your previous answers, replace FLAGS['data_image_size'], 512 to None, in DATA.py file,and then retrain the model. If so, i need change the model structure |
I hope this will be more clear https://gist.github.com/laol777/12ea093104db21f5d6c7be6587895d2b |
@liulizhou hstack and vstack is an little trick which will increase original dimensions 4x times |
@sangenan and i don't think that without contribution in this project i will be able to describe the whole process, I only tried to give you a gist of this process:
|
@laol777 @sangenan Really thanks a lot for your sharing, but i'm still confused by following questions :
|
|
Hi, @laol777 @sangenan i'm retraining model replacing |
@liulizhou hi, I'm trying, too. If I make progress, I'll let you know as soon as possible. |
@sangenan Thanks, wait for your result, i'm trying too. @laol777 have you get right enhanced result using your method for arbitrary input? |
With this detect #41 but it's a common problem for this model |
Hi, @sangenan @laol777 thanks again. According to @laol777 sharing code, i get the arbitrary input enhanced image.
|
@laol777 @liulizhou hi,Guys, I succeeded too. Thank you for your help. |
Much appreciate for your contributions!
|
Hi, @xiaozhi2015
|
I've tried with @laol777's shared code. The model trained without replacing FLAGS['data_image_size'] to None also works. Hope for further communication. @liulizhou I mean you only need to replace FLAGS['data_image_size'] to None in infer process |
Thank all guys. So sorry for the delay. I just uploaded my inference models and the code which I used in my demo website. Thanks. |
can you share your code to make this model to support size>512? |
can you share your code to make this model to support size>512? |
Can I make the prediction for an image which size is bigger than 512? And how? with assumption that i trained this model on 512x512 images
The text was updated successfully, but these errors were encountered: