Skip to content

Commit

Permalink
fix: try removing optimizations.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrutchf committed Jun 19, 2024
1 parent 84e819d commit 969a401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fish/fish_segmentation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ impl FishSegmentation {

fn create_model(&self) -> Result<Session, ort::Error> {
Session::builder()?
.with_optimization_level(ort::GraphOptimizationLevel::Level3)?
.with_optimization_level(ort::GraphOptimizationLevel::Disable)?
.with_intra_threads(4)?
.commit_from_file(&self.model_path)
}
Expand Down

0 comments on commit 969a401

Please sign in to comment.