Advertisement
Guest User

エラーメッセージ

a guest
Oct 19th, 2018
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "C:\waifu2x-chainer\waifu2x.py", line 192, in <module>
  3. args, dst, models['noise_scale'], models['alpha'])
  4. File "C:\waifu2x-chainer\waifu2x.py", line 49, in upscale_image
  5. dst = reconstruct.image(dst, model, cfg.block_size, cfg.batch_size)
  6. File "C:\waifu2x-chainer\lib\reconstruct.py", line 149, in image
  7. dst = blockwise(src, model, block_size, batch_size)
  8. File "C:\waifu2x-chainer\lib\reconstruct.py", line 54, in blockwise
  9. batch_y = model(batch_x)
  10. File "C:\waifu2x-chainer\lib\srcnn.py", line 169, in __call__
  11. h = self.res1(h)
  12. File "C:\waifu2x-chainer\lib\srcnn.py", line 146, in __call__
  13. return h * se + x
  14. File "C:\Users\username\Anaconda3\lib\site-packages\chainer\functions\math\basic_math.py", line 337, in mul
  15. return Mul().apply((self, rhs))[0]
  16. File "C:\Users\username\Anaconda3\lib\site-packages\chainer\function_node.py", line 243, in apply
  17. self._check_data_type_forward(in_data)
  18. File "C:\Users\username\Anaconda3\lib\site-packages\chainer\function_node.py", line 328, in _check_data_type_forward
  19. self.check_type_forward(in_type)
  20. File "C:\Users\username\Anaconda3\lib\site-packages\chainer\functions\math\basic_math.py", line 297, in check_type_forward
  21. in_types[0].shape == in_types[1].shape
  22. File "C:\Users\username\Anaconda3\lib\site-packages\chainer\utils\type_check.py", line 524, in expect
  23. expr.expect()
  24. File "C:\Users\username\Anaconda3\lib\site-packages\chainer\utils\type_check.py", line 482, in expect
  25. '{0} {1} {2}'.format(left, self.inv, right))
  26. chainer.utils.type_check.InvalidType:
  27. Invalid operation is performed in: _ * _ (Forward)
  28. Expect: in_types[0].shape == in_types[1].shape
  29. Actual: (8, 64, 52, 52) != (8, 64, 1, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement