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:
@@ -21,7 +21,7 @@ fn main() -> anyhow::Result<()> {
|
||||
|
||||
// build model
|
||||
let config = Config::blip_v1_base_caption()
|
||||
.with_device_all(args.device.as_str().try_into()?)
|
||||
.with_device_all(args.device.parse()?)
|
||||
.commit()?;
|
||||
let mut model = Blip::new(config)?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user