-
Notifications
You must be signed in to change notification settings - Fork 867
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
Flux shift method update #1564
base: sd3
Are you sure you want to change the base?
Flux shift method update #1564
Conversation
Bumps [opencv-python](https://github.com/opencv/opencv-python) from 4.7.0.68 to 4.8.1.78. - [Release notes](https://github.com/opencv/opencv-python/releases) - [Commits](https://github.com/opencv/opencv-python/commits) --- updated-dependencies: - dependency-name: opencv-python dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Update train_util.py, bug fix
…python-4.8.1.78 Bump opencv-python from 4.7.0.68 to 4.8.1.78
I'm not sure, but I think that x1 and x2 are the hyperparameters when the model is trained. Therefore, no matter what resolution we train at, I think that x2 and x2 should remain their original values. If we train it on a large dataset with x1=256 and x2=2048, the model will be able to generate images with a resolution of 256-2048 very well. But I think that would require some really extensive fine tuning. |
Further experiments are being conducted to see if the parameters can be modified. |
Hmm, I see, that sounds like a good idea. So it might be better to add a new option, even though it would be more complicated... For example, I think, something like |
Mainly the math part is updated.
The original y1, y2 is based on the minimum resolution x1=256,maximum resolution x2=4096 for muti-reso calculation.
However, we usually use 256~2048 for training, so we directly use the original multiplier for linear scaling.
For example if x2=2048 then the original function result should be 0.8.
Since it is scaled down twice, the final result is scaled up to 1.6.