-
Notifications
You must be signed in to change notification settings - Fork 51
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
Attention maps issue #25
Comments
Is your python version 2.7 ? |
I have tried both python versions (2.7 and 3.6), same result. My code for your model inference:
|
I also have tried different images from Kitti dataset, and predMaskC is always practically empty. As a result there is no impact from Color Pathway Dense Depth in a final one. |
The value of pixel in the mask is from 0 to 1, you should multiply 255 for visualization. |
The problem is not in visualization, matplotlib allows showing images both in the range of 0 to 255 and 0 to 1. The main issue is that the Mask of Color Pathway is almost all consists of zeros, while the Mask of Normal Pathway consists of ones. |
Did anyone face such issue? |
Sorry, I don't know. The code I test in my machine is actually fine.
…On Mon, Feb 10, 2020 at 10:45 PM 421psh ***@***.***> wrote:
Did anyone face such issue?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#25?email_source=notifications&email_token=AJANJRGL6BV334XK6ECFBG3RCFSAVA5CNFSM4KQ3R3S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELIYLIQ#issuecomment-584156578>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJANJRBVBTXHD5M6KGCKMD3RCFSAVANCNFSM4KQ3R3SQ>
.
|
@JiaxiongQ Thank you for your responsiveness. Finally, after neat preprocessing on the input data and following all requirements, I actually managed to get right Depth Map. Result is great, but I am wondering are you going to adapt the code to python 3 and up to date versions of torch and torchvision? |
Great! This is a good suggestion, but we don't have such plan in the near
future.
…On Tue, Feb 11, 2020 at 6:47 PM 421psh ***@***.***> wrote:
@JiaxiongQ <https://github.com/JiaxiongQ> Thank you for your
responsiveness. Finally, after neat preprocessing on the input data and
following all requirements, I actually managed to get right Depth Map.
Result is great, but I am wondering are you going to adapt the code to
python 3 and up to date versions of torch and torchvision?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#25?email_source=notifications&email_token=AJANJRGIRYIODCPDRQNFJBTRCJ64JA5CNFSM4KQ3R3S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELL6X2Q#issuecomment-584575978>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJANJRCLUAS5TVRVTBJDO6LRCJ64JANCNFSM4KQ3R3SQ>
.
|
The version of python should be 2.7
…On Thu, May 14, 2020 at 8:06 PM Wen Y.K. ***@***.***> wrote:
Hello. I am trying to implement your code and faced weird behavior of
Attention Maps (predMaskC and predMaskN). I am using your pretrained model.
I also tried torchvision 0.2.0 and torch 0.4.0, but it didn't help. Do you
have any suggestions?
why my result is like this
[image: image]
<https://user-images.githubusercontent.com/36818370/81932377-4fc95000-961e-11ea-8d4b-9f436768cf12.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJANJRFJFR2UWGVT3ECYGJLRRPNDHANCNFSM4KQ3R3SQ>
.
|
I have used python 2.7 (a long time for config env) but it still like this |
Hello. I am trying to implement your code and faced weird behavior of Attention Maps (predMaskC and predMaskN). I am using your pretrained model. I also tried torchvision 0.2.0 and torch 0.4.0, but it didn't help. Do you have any suggestions?
The text was updated successfully, but these errors were encountered: