mixed-segdec-net-comind2021
mixed-segdec-net-comind2021 copied to clipboard
ValueError: too many values to unpack (expected 2)
Traceback (most recent call last):
File "D:\project\mixed-segdec-net-comind2021-master\train_net.py", line 63, in
I want to get the solution about this code error.
Hi, it is possible that the name or value in your configuration settings contains ":" which causes issue with the print_run_params function. You can just disable this function or change the separator at line 362-363 in end2end2.py to something more unique:
for l in sorted(map(lambda e: e[0] + "#$#" + str(e[1]) + "\n", self.cfg.get_as_dict().items())):
k, v = l.split("#$#")
It can be solved,thank you.