chore: silence some warnings about precision loss (#620)
This commit is contained in:
parent
3fb275a67b
commit
81556f3136
@ -126,9 +126,9 @@ struct SDParams {
|
|||||||
int upscale_repeats = 1;
|
int upscale_repeats = 1;
|
||||||
|
|
||||||
std::vector<int> skip_layers = {7, 8, 9};
|
std::vector<int> skip_layers = {7, 8, 9};
|
||||||
float slg_scale = 0.;
|
float slg_scale = 0.f;
|
||||||
float skip_layer_start = 0.01;
|
float skip_layer_start = 0.01f;
|
||||||
float skip_layer_end = 0.2;
|
float skip_layer_end = 0.2f;
|
||||||
};
|
};
|
||||||
|
|
||||||
void print_params(SDParams params) {
|
void print_params(SDParams params) {
|
||||||
|
Loading…
Reference in New Issue
Block a user