Skip to content

Commit

Permalink
more config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist committed Feb 20, 2024
1 parent 83f9965 commit 2bb41bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/detection/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Detection module, consisting of segformer implementation
mod segformer;

use crate::error::Result;
Expand Down
1 change: 1 addition & 0 deletions src/detection/segformer.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Segformer implementation
use candle_core::{Module, ModuleT, Result, Tensor, D};
use candle_nn::{
conv2d, conv2d_no_bias, layer_norm, linear, Activation, Conv2d, Conv2dConfig, Linear,
Expand Down
1 change: 0 additions & 1 deletion src/recognition/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ use swin_transformer::SwinModel;
pub struct Config {
encoder: SwinConfig,
decoder: MBartConfig,
pad_token_id: i32,
}

#[derive(Debug, Clone)]
Expand Down

0 comments on commit 2bb41bf

Please sign in to comment.