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

An error message after the last iteration #25

Open
procyontao opened this issue Feb 3, 2022 · 2 comments
Open

An error message after the last iteration #25

procyontao opened this issue Feb 3, 2022 · 2 comments

Comments

@procyontao
Copy link
Collaborator

I believe this message can simply be ignored. But I will try to fix this.

Exception ignored in: <function Pool.del at 0x7f6bc4fbae50>
Traceback (most recent call last):
File "/usr/local/lib/python3.8/multiprocessing/pool.py", line 268, in del
self._change_notifier.put(None)
File "/usr/local/lib/python3.8/multiprocessing/queues.py", line 368, in put
self._writer.send_bytes(obj)
File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 200, in send_bytes
self._send_bytes(m[offset:offset + size])
File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 411, in _send_bytes
self._send(header + buf)
File "/usr/local/lib/python3.8/multiprocessing/connection.py", line 368, in _send
n = write(self._handle, buf)
OSError: [Errno 9] Bad file descriptor

@procyontao
Copy link
Collaborator Author

I found this could be a bug in Tensorflow. tensorflow/tensorflow#50487

Ignore it should be OK

@EricDeveaud
Copy link

Hello

tested various versionof tensorflow, nad finaly tensorflow-gpu-2.10.0 allow the run toends correctly
see:

200/200 [==============================] - 44s 218ms/step - loss: 0.1402 - mse: 0.0328 - mae: 0.1402 - val_loss: 0.1353 - val_mse: 0.0302 - val_mae: 0.1353
11-15 00:12:33, INFO     Done training!
11-15 00:12:33, INFO     Predicting subtomograms for last iterations
11-15 00:13:11, INFO     Done Iteration30!

here the modules installed

absl-py==1.3.0
astunparse==1.6.3
cachetools==5.2.0
certifi==2022.9.24
charset-normalizer==2.1.1
contourpy==1.0.6
cycler==0.11.0
fire==0.4.0
flatbuffers==22.10.26
fonttools==4.38.0
gast==0.4.0
google-auth==2.14.1
google-auth-oauthlib==0.4.6
google-pasta==0.2.0
grpcio==1.50.0
h5py==3.7.0
idna==3.4
imageio==2.22.4
importlib-metadata==5.0.0
keras==2.10.0
Keras-Preprocessing==1.1.2
kiwisolver==1.4.4
libclang==14.0.6
Markdown==3.4.1
MarkupSafe==2.1.1
matplotlib==3.6.2
mrcfile==1.4.3
networkx==2.8.8
numpy==1.23.4
oauthlib==3.2.2
opt-einsum==3.3.0
packaging==21.3
Pillow==9.3.0
protobuf==3.19.6
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyparsing==3.0.9
PyQt5==5.15.7
PyQt5-Qt5==5.15.2
PyQt5-sip==12.11.0
python-dateutil==2.8.2
PyWavelets==1.4.1
requests==2.28.1
requests-oauthlib==1.3.1
rsa==4.9
scikit-image==0.17.2
scipy==1.9.3
six==1.16.0
tensorboard==2.10.1
tensorboard-data-server==0.6.1
tensorboard-plugin-wit==1.8.1
tensorflow-estimator==2.10.0
tensorflow-gpu==2.10.0
tensorflow-io-gcs-filesystem==0.27.0
termcolor==2.1.0
tf-estimator-nightly==2.8.0.dev2021122109
tifffile==2022.10.10
tqdm==4.64.1
typing_extensions==4.4.0
urllib3==1.26.12
Werkzeug==2.2.2
wrapt==1.14.1
zipp==3.10.0

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

2 participants