Comments (9)
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.
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_steps
,num_res_blocks
、batch_size
,class_cond
,lr
,pen_break
et al.
from sketchknitter.
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.
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.
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.
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.
Thank you for your reply. Could you please upload your pretrained models?
from sketchknitter.
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.
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)
- I cant find .losses code HOT 1
- Some questions about model train and sample HOT 15
- Pretrained model. HOT 1
- custom dataset HOT 1
- The sampling code does not stop HOT 1
- Question of N HOT 2
- Reproducing paper results HOT 4
- Code for rectifying bad sketches.
- I cant find train_util file HOT 1
- cant not use ddim sample loop function HOT 1
- There is a problem with the sample.py HOT 6
- evaluator HOT 4
- Some questions about samples HOT 5
- Question about sample.py HOT 2
- Question about draw_sketch.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sketchknitter.