Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

tensorflow : 'NoneType' object has no attribute 'update' #8

Open
Nqabz opened this issue Dec 3, 2017 · 3 comments
Open

tensorflow : 'NoneType' object has no attribute 'update' #8

Nqabz opened this issue Dec 3, 2017 · 3 comments

Comments

@Nqabz
Copy link

Nqabz commented Dec 3, 2017

I tried running all your example on 8 Nvidia V100 however I get this error across all of them:

  File "/opt/conda/lib/python3.5/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/opt/conda/lib/python3.5/copy.py", line 297, in _reconstruct
    state = deepcopy(state, memo)
  File "/opt/conda/lib/python3.5/copy.py", line 155, in deepcopy
    y = copier(x, memo)
  File "/opt/conda/lib/python3.5/copy.py", line 243, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/opt/conda/lib/python3.5/copy.py", line 182, in deepcopy
    y = _reconstruct(x, rv, 1, memo)
  File "/opt/conda/lib/python3.5/copy.py", line 306, in _reconstruct
    y.__dict__.update(state)
AttributeError: 'NoneType' object has no attribute 'update'

This is in a docker environment with the following versions:
**

  • Tensorflow 1.4.0
  • Keras 2.1.2
  • Python 3.5.4
  • CUDA 9.0

**
Could this be version compatibility or GPU device compatibility? Thanks for any pointers.

@Nqabz Nqabz changed the title tensorflow multigpu tensorflow : 'NoneType' object has no attribute 'update' Dec 3, 2017
@DNXie
Copy link

DNXie commented Mar 15, 2018

keras-team/keras#8649

@cagbal
Copy link

cagbal commented Apr 12, 2018

Same issue here!

Tensorflow 1.4.1
Keras 2.1.5
Python 3.5.5
CUDA 8.0

@bzamecnik
Copy link
Collaborator

This issue also appears to me when I have two models sharing layers - one for prediction, one for training (with CTC loss and auxiliary inputs). ModelCheckpoint is saving from the training model.

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

No branches or pull requests

4 participants