HassanBinHaroon / deep-hough-transform

This is the implementation of https://github.com/Hanqer/deep-hough-transform on Google Colab.
13 stars 2 forks source link

How do I train my own data? #2

Open godisme1220 opened 1 year ago

godisme1220 commented 1 year ago

Hello, beginner here, thank you for this amazing project, how can I train with my own data?

I checked the code in Colab, and it seems that this code does not only require the input of photos but also the "CCV2017_JTLEE_gtlines_all" file. I checked the data in this folder and found that there are a lot of them. txt file, the .txt file has a parameter that I don't understand, which seems to be the dimensions of the photo. image

So here comes the question, how do I get the same information as the .txt file inside "CCV2017_JTLEE_gtlines_all" from my own photos?

And I also encountered a problem, I use the Colab file you provided, it works fine, but inside the "result/reproduce/visualize" folder, I don't see any pictures, they are all named 0,1,2,3. empty folder for ..., am I doing something wrong? image

HassanBinHaroon commented 1 year ago

kindly refer to this repository Deep Hough Transform