Skip to content
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

SGDet on Custom Images #202

Open
1286169349 opened this issue Nov 20, 2023 · 8 comments
Open

SGDet on Custom Images #202

1286169349 opened this issue Nov 20, 2023 · 8 comments

Comments

@1286169349
Copy link

❓ Questions and Help

Traceback (most recent call last):
File "tools/relation_test_net.py", line 123, in
main()
File "tools/relation_test_net.py", line 105, in main
data_loaders_val = make_data_loader(cfg=cfg, mode="test", is_distributed=distributed, dataset_to_test=cfg.DATASETS.TO_TEST)
File "/home/zzu_zxw/zjl_data/Scene-Graph-Benchmark.pytorch/maskrcnn_benchmark/data/build.py", line 227, in make_data_loader
datasets = build_dataset(cfg, dataset_list, transforms, DatasetCatalog, is_train)
File "/home/zzu_zxw/zjl_data/Scene-Graph-Benchmark.pytorch/maskrcnn_benchmark/data/build.py", line 103, in build_dataset
dataset = factory(**args)
File "/home/zzu_zxw/zjl_data/Scene-Graph-Benchmark.pytorch/maskrcnn_benchmark/data/datasets/visual_genome.py", line 52, in init
self.ind_to_classes, self.ind_to_predicates, self.ind_to_attributes = load_info(dict_file) # contiguous 151, 51 containing background
File "/home/zzu_zxw/zjl_data/Scene-Graph-Benchmark.pytorch/maskrcnn_benchmark/data/datasets/visual_genome.py", line 276, in load_info
info = json.load(open(dict_file, 'r'))
FileNotFoundError: [Errno 2] No such file or directory: '/media/rafi/Samsung_T5/_DATASETS/vg/VG-SGG-dicts-with-attri.json'

@devanshrj
Copy link

devanshrj commented Nov 27, 2023

Hi, I am also running into the same error on using SGDet on custom images. Were you able to resolve this?

@Drome586
Copy link

Hi, I had the same problem, may I ask how you finally solved it?

@narchitect
Copy link

you need to change the default path for the dataset from ../maskrcnn_benchmark/config/paths_catalog.py

@Drome586
Copy link

Drome586 commented Jan 5, 2024

you need to change the default path for the dataset from ../maskrcnn_benchmark/config/paths_catalog.py

Thank you, my brother.

@Drome586
Copy link

Drome586 commented Jan 5, 2024

you need to change the default path for the dataset from ../maskrcnn_benchmark/config/paths_catalog.py

I also have a small question I'd like to ask.Recently I had an idea to try and introduce a "Tree" structure into the Transformer, but I'm at a loss? Do you have any insights?

@Maelic
Copy link

Maelic commented Feb 14, 2024

you need to change the default path for the dataset from ../maskrcnn_benchmark/config/paths_catalog.py

I also have a small question I'd like to ask.Recently I had an idea to try and introduce a "Tree" structure into the Transformer, but I'm at a loss? Do you have any insights?

Hi @Drome586 ,

You may have a look at this, this and this (this last implementation is also from @KaihuaTang and part of this codebase here).

Hope this helps.

@Drome586
Copy link

Drome586 commented Feb 17, 2024 via email

@majianbo3
Copy link

Thank you very much for your reply and I wish you all the best! At 2024-02-15 01:36:37, "Maëlic Neau" @.> wrote: you need to change the default path for the dataset from ../maskrcnn_benchmark/config/paths_catalog.py I also have a small question I'd like to ask.Recently I had an idea to try and introduce a "Tree" structure into the Transformer, but I'm at a loss? Do you have any insights? Hi @Drome586 , You may have a look at this, this and this (this last implementation is also part of this codebase here). — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

非常感谢您的回复,祝您一切顺利! 2024-02-15 01:36:37,“Maëlic Neau”@.& gt; wrote: 您需要将数据集的默认路径从../ maskrcnn_benchmark/config/paths_catalog.py 我还有一个小问题想问,最近我有一个想法,想尝试在Transformer中引入一个“树”结构,但我不知所措?你有什么见解吗? 嗨@Drome586, 你可以看看这个,这个和这个(最后一个实现也是这个代码库的一部分)。 - 直接回复此电子邮件,在GitHub上查看或取消订阅。 您收到此消息是因为有人提到您。消息ID:@.& gt;

Hello, I have been customizing my own dataset recently. If you could share your work with me, I would greatly appreciate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants