-
Notifications
You must be signed in to change notification settings - Fork 19
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
How can I run the model on my own dataset? #33
Comments
Hi, does your dataset contain ground-truth graphs? You can process that graph into the same format as used in this codebase, then it shall generate keypoint masks for you. |
For example, you can refer to the generate_labels.py under cityscales dir. From line 82, it reads the GT graph - and it reveals the gt graph format, basically an adjacency list of vertices. |
Unfortunately my dataset does not contain ground-truth graphs. I have only satellite images of 512x512 roads with different magnification in tif format. I attach some examples of these images. Can you please help me, how can I get ground-truth graphs from my images? |
Ok, if you were trying to re-train/fine-tune on your dataset, you do need ground-truth graph. Otherwise if you just want to run our checkpoint on some images, you can just follow the inference instruction in README. |
Thank you! I have checkpoints on City scale and SpaceNet datasets, I'll try some of them on my images. |
Hello, I try to start inference on my own images via command: But then I got an error:
line 281:
and e.t.c. I think the erorr is sampling with the dataset name. But for cityscale and spacenet need gt graph, which I don't have for my images.
I used the configuration reference from your toponet_vitb_1024.yaml
Please, can you explane me what I need to do to solve the problem? |
This problem has already been solved. I understand correctly that even to run inferencer.py you still need GTs? inferencer.py and GT
If i commit gt_graph, gt_nodes, gt_edges it also run, but how I can then extract metrics on my own images wich hasn't gt.p and gt.json files? Or on another popular dataset like DeepGlobe Roads or Massachusetts Roads wich also hasn't gt.p and gt.json files? And I trouble then I continue traning model on CityScale. |
I have my own image dataset and I don't understand where/how I can make key point masks for images. Can you explain the process to prepare the own dataset and then run the model, please? I'll be waiting your answer.
The text was updated successfully, but these errors were encountered: