Hi, I want to ask if I can do like this, I want to add 4 train threads and 1 test thread, so I did like this:
#train thread
runners = [Runner.remote(env_name, training_mode, render, n_update, i) for i in range(n_agent)]
#test thread
runners.append(Runner.remote(args, False, render, n_update, n_agent)) # training_mode = False
super(_open_zipfile_reader, self).__init__(torch._C.PyTorchFileReader(name_or_buffer))
RuntimeError: [enforce fail at inline_container.cc:145] . PytorchStreamReader failed reading zip archive: failed finding central directory
I suspect that the learner hasn't saved the weight file completely yet, so the test thread can not load the weight file.
But when I use 5 train threads, everything is fine.