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

unsupported operand type(s) for +: 'builtin_function_or_method' and 'builtin_function_or_method' #12

Open
SaidaSaad opened this issue Nov 17, 2021 · 0 comments

Comments

@SaidaSaad
Copy link

Hi I use that example in my code but i got that problem

Traceback (most recent call last):
File "/mnt/HDD/train_Model_1.py", line 237, in
train_loss = np.average(train_losses)
File "<array_function internals>", line 6, in average
File "/home/saida/.local/lib/python3.6/site-packages/numpy/lib/function_base.py", line 380, in average
avg = a.mean(axis)
File "/home/saida/.local/lib/python3.6/site-packages/numpy/core/_methods.py", line 160, in _mean
ret = umr_sum(arr, axis, dtype, out, keepdims)
TypeError: unsupported operand type(s) for +: 'builtin_function_or_method' and 'builtin_function_or_method' '\

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

No branches or pull requests

1 participant