We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug I found that the code was copied from the source author's code and some pytorch's code was transformed to paddle error.
To Reproduce 1: VIT_custom.py line59
return input * paddle.rsqrt(paddle.mean(input ** 2, dim=2, keepdim=True) + 1e-8)
should be
return input * paddle.rsqrt(paddle.mean(input ** 2, axis=2, keepdim=True) + 1e-8)
2: VIT_custom.py line88
class CustomAct(nn.Layer): """ CustomAct layer Custom act method set, defalut "gelu" """ def __init__(self, act_layer): super().__init__() if act_layer == "gelu": self.act_layer = gelu elif act_layer == "leakyrelu": self.act_layer = leakyrelu else: self.act_layer = gelu
which
leakyrelu has not been defined
The text was updated successfully, but these errors were encountered:
感谢关注PPViT,已经给rd反馈
Sorry, something went wrong.
fix BR-IDL#55
20bbaf3
PR #55 has been merged. So I close this issue.
Merge pull request #132 from DDXDaniel/fix_transGAN_bug
de173d6
fix #55
No branches or pull requests
Describe the bug
I found that the code was copied from the source author's code and some pytorch's code was transformed to paddle error.
To Reproduce
1:
VIT_custom.py line59
should be
2:
VIT_custom.py line88
which
The text was updated successfully, but these errors were encountered: