Giter Club home page Giter Club logo

Comments (9)

wangqiang9 avatar wangqiang9 commented on May 28, 2024

Hello, thank you for your interest in our work. What is the division of your dataset training and testing sets? What is your training epoch? What is the number of images selected for the quantitative experiment?
Please let me know these settings for my judgment.

from sketchknitter.

wangqiang9 avatar wangqiang9 commented on May 28, 2024

I have some suggestions, as you only train on a single category, it seems like you need to readjust the parameters. You should have mastered the visualization methods I provided. You can adjust parameters during the training process by visualizing the generated results. Some parameters that have a significant and sensitive impact on the generated results are diffusion_stepsnum_res_blocksbatch_sizeclass_condlrpen_break et al.

from sketchknitter.

wangqiang9 avatar wangqiang9 commented on May 28, 2024

In addition, quantitative results need to be evaluated with as many sketches as possible, with a recommended value of over 100000 to better reflect the distribution pattern of the data.

from sketchknitter.

wangqiang9 avatar wangqiang9 commented on May 28, 2024

Another key point is that if your dataset is simple, you should appropriately reduce image_size, such as a smaller empirical value. In the future, I will open source a script code to help better calculate the average length and select more suitable truncation values.

from sketchknitter.

Bohan7 avatar Bohan7 commented on May 28, 2024

Thank you for your suggestions! I used the airplane sketches from QuickDraw Dataset. In this dataset, 75K samples (70K Training, 2.5K Validation, 2.5K Test) have been randomly selected from each category. I selected 2.5K images for the quantitative experiment.

I have the following questions. Firstly, I noticed in your code, the output dimension for the pen state is 2. Shouldn't it be 1? Secondly, for tuning the parameters, could you please provide your recommended values? Finally, there are totally 75K samples in each class of the QuickDraw Dataset. I think I cannot evaluate 100,000 generated sketches.

from sketchknitter.

wangqiang9 avatar wangqiang9 commented on May 28, 2024

Thank you for your feedback. Firstly, the pen_state is a probability value, and I set it to 0.1 by default in the code. Please refer to our paper for detailed principles in this section. Of course, this value is closely related to the dataset. My experience is that this value is inversely proportional to the complexity of the data you train.
Secondly, if testing multiple categories, the total data volume is generally much greater than 100k, so you can easily select the data you need to test.
Finally, we welcome you to share more experiences. The experience of the open source community in sketch generation is far less than that of images. We hope that more people can share their interesting experiences.

from sketchknitter.

Bohan7 avatar Bohan7 commented on May 28, 2024

Thank you for your reply. Could you please upload your pretrained models?

from sketchknitter.

Bohan7 avatar Bohan7 commented on May 28, 2024

If it's difficult for you to upload your pretrained models, could you possibly provide me with the specific hyperparameters — such as num_res_blocks, class_cond, and lr — that were used to train the 'Moderate' model, as mentioned in Table 1 of your paper? I would greatly appreciate your assistance.

from sketchknitter.

wangqiang9 avatar wangqiang9 commented on May 28, 2024

In the future, we have plans to release unconditional models, conditional models, and some useful script tools for estimating pen numbers for sketches. Please continue to pay attention to our work.

from sketchknitter.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.