ashnkumar / sketch-code

Keras model to generate HTML code from hand-drawn website mockups. Implements an image captioning architecture to drawn source images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding new elements to the dataset Images

opened this issue · comments

Hi,
I am trying to add a new component 'Dropdown' to the dataset. Following are the steps performed:

  1. Used opencv to add a new bootstrap element in the images and made changes in the respective gui files.
  2. Included 'dropdown' in the vocab file.

But, the model is still not able to generate dropdown tags for the example images. The validation error also has increased while training the model.

Has anyone else tried to add new elements to the dataset?
Example Image:
515d8294-2e0d-491b-acb0-ecd1edd1dc55

Thanks and Regards,
Karan

We are trying to do the exact same thing and are facing the same issue. There is one point though:-
The default-mapping.json file ( which is the stylesheet) should also have it the dropdown in that location.
We are getting the drop-down but the accuracy is not that great.

At this point, we are trying to get this accuracy higher and any help on this would be appreciated!