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

ROI pool层的GPU实现单测不过的问题 #10627

Closed
dyning opened this issue May 14, 2018 · 1 comment · Fixed by #10700
Closed

ROI pool层的GPU实现单测不过的问题 #10627

dyning opened this issue May 14, 2018 · 1 comment · Fixed by #10700
Assignees
Labels

Comments

@dyning
Copy link
Contributor

dyning commented May 14, 2018

将ROI pooling的单测进行修改如下,发现CPU预测可以通过,但是GPU预测有问题。
38 def init_test_case(self):
39 self.batch_size = 3
40 self.channels = 3
41 self.height = 100
42 self.width = 100
43
44 # n, c, h, w
45 self.x_dim = (self.batch_size, self.channels, self.height, self.width)
46
47 self.spatial_scale = 1.0 / 100.0
48 self.pooled_height = 3
49 self.pooled_width = 3
50
51 self.x = np.random.random(self.x_dim).astype('float32')

@dyning
Copy link
Contributor Author

dyning commented Jun 8, 2018

赞!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants