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