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

Program error during training #69

Closed
FrankYii1 opened this issue Jul 13, 2023 · 1 comment
Closed

Program error during training #69

FrankYii1 opened this issue Jul 13, 2023 · 1 comment

Comments

@FrankYii1
Copy link

When I am training CCT, the following error will occur. I would like to know how to solve this problem?
Traceback (most recent call last):
File "/home/d6813/anaconda3/envs/CCT/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/home/d6813/anaconda3/envs/CCT/lib/python3.7/site-packages/tensorboard/summary/writer/event_file_writer.py", line 233, in run
self._record_writer.write(data)
File "/home/d6813/anaconda3/envs/CCT/lib/python3.7/site-packages/tensorboard/summary/writer/record_writer.py", line 40, in write
self._writer.write(header + header_crc + data + footer_crc)
File "/home/d6813/anaconda3/envs/CCT/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/io/gfile.py", line 766, in write
self.fs.append(self.filename, file_content, self.binary_mode)
File "/home/d6813/anaconda3/envs/CCT/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/io/gfile.py", line 160, in append
self._write(filename, file_content, "ab" if binary_mode else "a")
File "/home/d6813/anaconda3/envs/CCT/lib/python3.7/site-packages/tensorboard/compat/tensorflow_stub/io/gfile.py", line 164, in _write
with io.open(filename, mode, encoding=encoding) as f:
OSError: [Errno 9] Bad file descriptor

@yassouali
Copy link
Owner

OSError is often raised when operations are performed on a file that has been closed or was never properly opened. Check the file path & permissions.

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