-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Couldn't open shared file mapping: <torch_573824_1569179339>, error code: <1455> #31874
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
Comments
Not sure if it is related, but I also have the following error in tensorbord: TensorBoard 2.0.2 at http://localhost:6006/ (Press CTRL+C to quit)
Fatal Python error: Aborted
Current thread 0x0007c8c0 (most recent call first):
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorflow_core\python\pywrap_tensorflow_internal.py", line 1034 in GetNext
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\backend\event_processing\event_file_loader.py", line 71 in Load
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\backend\event_processing\event_file_loader.py", line 94 in Load
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\backend\event_processing\directory_watcher.py", line 113 in _LoadInternal
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\backend\event_processing\directory_watcher.py", line 89 in Load
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\backend\event_processing\plugin_event_accumulator.py", line 177 in Reload
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\backend\event_processing\plugin_event_multiplexer.py", line 224 in Worker
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\backend\event_processing\plugin_event_multiplexer.py", line 246 in Reload
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\backend\application.py", line 504 in _reload
File "c:\users\wweilue\appdata\local\programs\python\python37\lib\threading.py", line 870 in run
File "c:\users\wweilue\appdata\local\programs\python\python37\lib\threading.py", line 926 in _bootstrap_inner
File "c:\users\wweilue\appdata\local\programs\python\python37\lib\threading.py", line 890 in _bootstrap
Thread 0x00080788 (most recent call first):
File "c:\users\wweilue\appdata\local\programs\python\python37\lib\selectors.py", line 314 in _select
File "c:\users\wweilue\appdata\local\programs\python\python37\lib\selectors.py", line 323 in select
File "c:\users\wweilue\appdata\local\programs\python\python37\lib\socketserver.py", line 232 in serve_forever
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\werkzeug\serving.py", line 735 in serve_forever
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\program.py", line 284 in _run_serve_subcommand
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\program.py", line 267 in main
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\absl\app.py", line 250 in _run_main
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\absl\app.py", line 299 in run
File "C:\Users\wweilue\AppData\Roaming\Python\Python37\site-packages\tensorboard\main.py", line 66 in run_main
File "C:\Users\wweilue\AppData\Local\Programs\Python\Python37\Scripts\tensorboard.exe\__main__.py", line 7 in <module>
File "c:\users\wweilue\appdata\local\programs\python\python37\lib\runpy.py", line 85 in _run_code
File "c:\users\wweilue\appdata\local\programs\python\python37\lib\runpy.py", line 193 in _run_module_as_main |
What about using |
Alternatively, you may try out reducing the number of workers in the DataLoader. |
@peterjc123 I am not able to reproduce the same error with the second time I run it. I got a memory error instead, it runs normally after reducing the number of workers. |
@Redcxx is this resolved? |
@jerryzh168 For me yes. |
I feel like |
@Redcxx Hi, I also encountered this error when using 'multiprocessing' function in PyTorch on Windows10. Here is my issue post: #63331. I noticed that you have resolved this problem. Could you please let me know how did you solve it? I have tried to put all the codes (including train()) under |
Hi, I am still facing the same problem. May I know have you solved the problem? How you solved it? thanks! |
I think I have solved this problem. |
Hi weilueluo, could you please share how you solved this problem? I also faced the same problem. Thanks |
🐛 Bug
Runtime error similar to #18797.
To Reproduce
Steps to reproduce the behavior:
no idea how to do that
Expected behavior
no error
Environment
Collecting environment information...
PyTorch version: 1.2.0+cu92
Is debug build: No
CUDA used to build PyTorch: 9.2
OS: Microsoft Windows 10 家庭版 <--- this means family version
GCC version: Could not collect
CMake version: Could not collect
Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 10.0.130
GPU models and configuration: GPU 0: GeForce GTX 1050
Nvidia driver version: 441.28
cuDNN version: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\cudnn64_7.dll
Versions of relevant libraries:
[pip3] numpy==1.17.4
[pip3] torch==1.2.0+cu92
[pip3] torchsummary==1.5.1
[pip3] torchvision==0.4.0+cu92
[conda] Could not collect
Additional context
The text was updated successfully, but these errors were encountered: