When using export.py to extract the coco dataset, there was an issue with the missing loader
SiyuQibuaa opened this issue · 2 comments
SiyuQibuaa commented
The error information is like:
Traceback (most recent call last):
File "export.py", line 400, in
config = yaml.load(f)
TypeError: load() missing 1 required positional argument: 'Loader'
the same error has been happened both val and train。
hoping for your reply! thank you!
PeterLin326 commented
hi,
you can try to use yaml.safe_load(f) .
SiyuQibuaa commented
Thank you very much, the modified code is running smoothly!
best wishes!
…---Original---
From: ***@***.***>
Date: Fri, Mar 8, 2024 14:45 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [eric-yyjau/pytorch-superpoint] When using export.py to extractthe coco dataset, there was an issue with the missing loader (Issue #110)
hi,
you can try to use yaml.safe_load(f) .
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>