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

SDNE,'NoneType' object is not callable #65

Open
orderer0001 opened this issue Apr 27, 2022 · 0 comments
Open

SDNE,'NoneType' object is not callable #65

orderer0001 opened this issue Apr 27, 2022 · 0 comments

Comments

@orderer0001
Copy link

error during training:
model.train(batch_size=1024,epochs=3,verbose=2)
Traceback (most recent call last):
File "/opt/homebrew/Caskroom/miniforge/base/envs/tensorflow24/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3457, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
model.train(batch_size=1024,epochs=3,verbose=2)
File "/opt/homebrew/Caskroom/miniforge/base/envs/tensorflow24/lib/python3.8/site-packages/ge/models/sdne.py", line 129, in train
A_train = self.A[index, :].todense()
File "/opt/homebrew/Caskroom/miniforge/base/envs/tensorflow24/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py", line 1854, in train_on_batch
logs = self.train_function(iterator)
File "/opt/homebrew/Caskroom/miniforge/base/envs/tensorflow24/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 885, in call
result = self._call(*args, **kwds)
File "/opt/homebrew/Caskroom/miniforge/base/envs/tensorflow24/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 917, in _call
return self._stateless_fn(*args, **kwds) # pylint: disable=not-callable
TypeError: 'NoneType' object is not callable

Does anyone have experience with this problem?

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