Hi,
I am running simultaneously 4 runs in the same project. Everything is OK. I see the data changes at the dashboard. After a day I tried to run the fifth script with in the same project but with a new id. I am getting the error WinError 10054.
Tried to relogin but it didn’t help.
this is what I get in VS code terminal.
PS C:\Users\Gilad\Markman Dropbox\Gilad Markman\Python\Space_Invaders> & c:/Users/Gilad/env/Scripts/python.exe “c:/Users/Gilad/Markman Dropbox/Gilad Markman/Python/Space_Invaders/Trainer_wandb.py”
pygame 2.1.2 (SDL 2.0.18, Python 3.10.11)
Hello from the pygame community. Contribute - pygame wiki
wandb: Currently logged in as: markman (giladmarkman). Use wandb login --relogin
to force relogin
— Logging error —
Traceback (most recent call last):
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\logging_init_.py”, line 1103, in emit
stream.write(msg + self.terminator)
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\encodings\cp1252.py”, line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: ‘charmap’ codec can’t encode character ‘\u05ea’ in position 253: character maps to
Call stack:
File “c:\Users\Gilad\Markman Dropbox\Gilad Markman\Python\Space_Invaders\Trainer_wandb.py”, line 186, in
main ()
File “c:\Users\Gilad\Markman Dropbox\Gilad Markman\Python\Space_Invaders\Trainer_wandb.py”, line 69, in main
wandb.init(
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\wandb_init.py”, line 1176, in init
run = wi.init()
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\wandb_init.py”, line 573, in init
logger.info(
Message: “wandb.init called with sweep_config: {}\nconfig: {‘name’: ‘Space_invaders 24’, ‘checkpoint’: ‘Data/checkpoint24.pth’, ‘learning_rate’: 0.0001, ‘architecture’: ‘FNN 128, 256, 512ת128, 64, 4’, ‘Schedule’: ‘5000, 10000, 15000, 20000 gamma=0.5’, ‘epochs’: 200000, ‘start_epoch’: 0, ‘decay’: 20000, ‘gamma’: 0.99, ‘batch_size’: 50, ‘C’: 3, ‘Model’: ‘DQN(\n (linear1): Linear(in_features=88, out_features=128, bias=True)\n (linear2): Linear(in_features=128, out_features=256, bias=True)\n (linear3): Linear(in_features=256, out_features=512, bias=True)\n (linear4): Linear(in_features=512, out_features=128, bias=True)\n (linear5): Linear(in_features=128, out_features=64, bias=True)\n (output): Linear(in_features=64, out_features=4, bias=True)\n (MSELoss): MSELoss()\n)’}”
Arguments: ()
Thread SenderThread: wandb.init()…
Traceback (most recent call last):
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\internal\internal_util.py”, line 49, in run
self._run()
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\internal\internal_util.py”, line 100, in _run
self._process(record)
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\internal\internal.py”, line 328, in _process
self._sm.send(record)
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\internal\sender.py”, line 389, in send
send_handler(record)
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\internal\sender.py”, line 947, in send_run
self._config_save(config_value_dict)
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\internal\sender.py”, line 905, in _config_save
config_util.save_config_file_from_dict(config_path, config_value_dict)
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\lib\config_util.py”, line 92, in save_config_file_from_dict
conf_file.write(data)
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\encodings\cp1252.py”, line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: ‘charmap’ codec can’t encode character ‘\u05ea’ in position 230: character maps to
wandb: ERROR Internal wandb error: file data was not synced
Problem at: c:\Users\Gilad\Markman Dropbox\Gilad Markman\Python\Space_Invaders\Trainer_wandb.py 69 main
wandb: ERROR transport failed
Traceback (most recent call last):
File “c:\Users\Gilad\Markman Dropbox\Gilad Markman\Python\Space_Invaders\Trainer_wandb.py”, line 186, in
main ()
File “c:\Users\Gilad\Markman Dropbox\Gilad Markman\Python\Space_Invaders\Trainer_wandb.py”, line 69, in main
wandb.init(
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\wandb_init.py”, line 1195, in init
raise e
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\wandb_init.py”, line 1176, in init
run = wi.init()
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\wandb_init.py”, line 756, in init
result = run_init_handle.wait(
File “C:\Users\Gilad\env\lib\site-packages\wandb\sdk\lib\mailbox.py”, line 281, in wait
raise MailboxError(“transport failed”)
wandb.sdk.lib.mailbox.MailboxError: transport failed
wandb: While tearing down the service manager. The following error has occurred: [WinError 10054] An existing connection was forcibly closed by the remote host
PS C:\Users\Gilad\Markman Dropbox\Gilad Markman\Python\Space_Invaders>