-
Notifications
You must be signed in to change notification settings - Fork 83
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
all about 1e-7 #4
Comments
Hi thanks for the issue
1. Did you run from the project root directory?
Or did you run inside the util directory? This wont work because of the relative import.
you should always use from the project root such as
from utils import ,,,
2. It is for numerical stability. Because pure 0 can cause some NaN for example dividing by zero.
So 1e-7 is a little safety feature to prevent pure zero.
Hope that helps!
…Sent from my iPhone
On Jan 21, 2018, at 9:00 AM, 527760681 ***@***.***> wrote:
hi,i downloaded your project for study,and thank you for this super useful code.
i have two problem as follows:
1.the "relative path" code not work on my windows machine,such as data.py,i have to change it to absolute path,that's sad.
2.what does the 1e-7 means?i knew it means 0.0000001,but why you always add 1e-7 behind your code ?
i'm new to AI and Tensorflow,my english is not very good,sorry about that.
hope you reply soon.
thanks again.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
thank you for reply. not same as classifacation,this IOU performs good or not? |
Yes, I had to make some change lately because the datasets (labels) has changed. Since then, I am also having the same issue. Anyway, I was also going back to the pixel-wise softmax, so yeah you need to change the loss function and it's good 😄 |
Hello @kkweon and thank you for the code, can you please provide us, with new code you used or changes you made for softmax? Please! |
hi,i downloaded your project for study,and thank you for this super useful code.
i have two problem as follows:
1.the "relative path" code not work on my windows machine,such as data.py,i have to change it to absolute path,that's sad.
2.what does the 1e-7 means?i knew it means 0.0000001,but why you always add 1e-7 behind your code ?
i'm new to AI and Tensorflow,my english is not very good,sorry about that.
hope you reply soon.
thanks again.
The text was updated successfully, but these errors were encountered: