KaihuaTang / Scene-Graph-Benchmark.pytorch

A new codebase for popular Scene Graph Generation methods (2020). Visualization & Scene Graph Extraction on custom images/datasets are provided. It's also a PyTorch implementation of paper “Unbiased Scene Graph Generation from Biased Training CVPR 2020”
MIT License
1.03k stars 228 forks source link

assert len(fns) == 108073 AssertionError #165

Open StevejobChen opened 2 years ago

StevejobChen commented 2 years ago

数据的路径问题和数据合并的问题

StevejobChen commented 2 years ago

答案一:数据所存放的路径不对

答案二:两个数据文件合并的方式不对导致合并后的数据大小与json文件所要的数据量不一致,要使用指令\cp -rf --link dir2/* dir1/(Linux版)来合并文件

zanedurante commented 2 years ago

Thank you! I had this same problem and cp -rf --link VG_100K_2/* VG_100K/ fixed it!

wywwwww commented 1 year ago

答案一:数据所存放的路径不对

答案二:两个数据文件合并的方式不对导致合并后的数据大小与json文件所要的数据量不一致,要使用指令\cp -rf --link dir2/* dir1/(Linux版)来合并文件

I modify the path and use cp -rf --link VG_100K_2/* VG_100K/ to obtain a file with 108248 figures. It still show assert len(fns) == 108073 AssertionError. Have you encountered this problem before?

386469007 commented 7 months ago

答案一:数据所存放的路径不对 答案二:两个数据文件合并的方式不对导致合并后的数据大小与json文件所要的数据量不一致,要使用指令\cp -rf --link dir2/* dir1/(Linux版)来合并文件

I modify the path and use cp -rf --link VG_100K_2/* VG_100K/ to obtain a file with 108248 figures. It still show assert len(fns) == 108073 AssertionError. Have you encountered this problem before?

Have you solved this problem now?