-
Notifications
You must be signed in to change notification settings - Fork 54
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 to training custom dataset? #37
Comments
Because of the annotation bias, the model (HAWPv2) trained on the Wireframe dataset may be failed. So, I extended HAWP to self-supervised learning. For the training on your custom data, you may need to follow the data format of HAWPv2 to prepare the train.json file. Meanwhile, you need to add your dataset into paths_catalog.py. |
Hello, I am new to line segment, how can I generate ann['edges_negative']. Thanks! |
@cherubicXN thanks for your kindly reply! |
Hi, the "negative edges" was presented in L-CNN and I followed their configuration in the conference version. For the latest version, you can safely set dummy negative edges as |
For the HAWPv3 model, we practically found that it could handle the long curves, but it would be failed in some cases. The model hawpv3-imagenet-03a84.pth trained on ImageNet-small usually works better than the one we used in our main paper. In my opinion, annotating long curves would be very challenging due to the inherent ambiguity. For example, if we are going to annotate a large circle, any point on the circle can be labeled as a junction. Based on this ambiguity, if I were labeling the long curves with images, I would like to annotate some salient edge points as the junctions or use an off-the-shelf detector to assist the labeling. You can try it. |
hello,I was wondering how to generate ann['edges_positive']?or can you tell me how to generate the json file for hawpv2 code? |
edges_positive = [[0,1],[1,2],[2,3],[3,0], [0,2]] |
The latex codes are generated by chatGPT! Here is a screenshot |
Is the line segment depend on the ground truth? or randomly generate by the endpoint indices in edges_positive ? |
It is, of course, the ground truth. I show the example to illustrate the data format. |
Can I ask more about the format of the junction and edges_positive? |
when I use wireframe dataset, and the result is successfully, but when use custom datase, the result is very bad.
could you provide some detail information or some comment for train custom dataset?
thanks
The text was updated successfully, but these errors were encountered: