mirror of
https://github.com/mii443/usls.git
synced 2025-08-22 15:45:41 +00:00
Add some eps (#108)
This commit is contained in:
@ -31,8 +31,8 @@ fn main() -> anyhow::Result<()> {
|
||||
|
||||
// build model
|
||||
let config = config
|
||||
.with_model_dtype(args.dtype.as_str().try_into()?)
|
||||
.with_model_device(args.device.as_str().try_into()?)
|
||||
.with_model_dtype(args.dtype.parse()?)
|
||||
.with_model_device(args.device.parse()?)
|
||||
.commit()?;
|
||||
let mut model = RMBG::new(config)?;
|
||||
|
||||
|
Reference in New Issue
Block a user