You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In lines [53-59], trainval.py file;
I solved by commenting line 57 in trainval.py file, default_arg = yaml.load(f), and replace with default_arg = yaml.safe_load(f) , as shown below:
def load_arg(p): # save arg if os.path.exists(p.config): with open(p.config, 'r') as f: # default_arg = yaml.load(f) default_arg = yaml.safe_load(f)
The text was updated successfully, but these errors were encountered:
In lines [53-59], trainval.py file;
I solved by commenting line 57 in trainval.py file,
default_arg = yaml.load(f)
, and replace withdefault_arg = yaml.safe_load(f)
, as shown below:def load_arg(p):
# save arg
if os.path.exists(p.config):
with open(p.config, 'r') as f:
# default_arg = yaml.load(f)
default_arg = yaml.safe_load(f)
The text was updated successfully, but these errors were encountered: