-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
load_public_data.py #1
Comments
This is because inside the Data folder, there have files named like '._xxxx.csv'. and data files 'xxxx.csv'. You should remove all the '._xxxx.csv' files. |
The new bug is due to the load_data_public.py doesn't need annotation files, instesd it directly generate classes use files' name. (If you look carefully, you will notice). After solving above two bugs, you can get data.pt through python load_data_public.py |
师兄这个问题怎么解决的可以详细讲一下吗?我是研一新生,导师让跑一下这个代码,一直没有成功,非常感谢。 |
看不到你发的图 |
感谢师兄,百忙之中回复我,非常感谢 |
def load_data(root):
load_data 函数换成这个,pt换成你的文件 |
万分感谢师兄,感谢师兄百忙之中帮我答疑解惑,我可能太菜了,python也是新学的,所以才会有这么多问题,再次感谢师兄,祝师兄学业顺利,年年中顶会,科研顺利,天天开心。 |
作者并没有给出他自己收集的5300npy的数据集,所以load_data 那个函数的if部分可以直接删掉,首先需要用load_data_public.py生成一个.pt文件,然后运行的时候使用的是这个数据集。你这个bug是load_data if里的bug。 对,只需要data 部分,不要label,因为生成数据的代码里根据名字又生成了label。这个数据集不是作者收集的,所以他没有用label的文件夹。 |
|
The text was updated successfully, but these errors were encountered: