Skip to content

Comments

Fix bottleneck support.#99

Merged
crutcher merged 7 commits intomainfrom
crutcher/resnet_50
Nov 2, 2025
Merged

Fix bottleneck support.#99
crutcher merged 7 commits intomainfrom
crutcher/resnet_50

Conversation

@crutcher
Copy link
Owner

@crutcher crutcher commented Nov 2, 2025

No description provided.

- Introduced optional label smoothing for training via `--smoothing` argument.
- Refactored `ResNet` into a new `Host` structure to include smoothing and support advanced configurations.
- Adjusted training and validation flows to utilize `Host` wrapping the original `ResNet` model.
- Standardized comments in `BasicBlock` and `BottleneckBlock` to use consistent `meta-API` notation.
- Merged duplicate methods (`pinch_factor`, `effective_first_dilation`, `out_planes`) for cleaner implementation.
- Updated method usages to directly reference the respective properties for improved readability and efficiency.
- Replaced `reduction_factor` with `reduce_first` for clarity and consistency.
- Streamlined related methods and comments in `BasicBlock`, `BottleneckBlock`, and `LayerBlock`.
- Added debug print utilities across ResNet modules to help with diagnostics.
- Updated CNA APIs with `map_forward` and adjusted method order for improved readability.
- Enhanced ResNet-finetune example with `--freeze_layers` option and a custom metrics renderer.
- Adjusted default cardinality and pretrained weights handling in ResNet configurations.
…lated documentation

- Standardized naming across the example directory, README, and `Cargo.toml`.
- Enhanced pretrained model listing with detailed configurations and descriptions.
- Updated `Cargo.toml` and `Cargo.lock` files to reflect the new version.
@crutcher crutcher merged commit 7b63752 into main Nov 2, 2025
1 check failed
@crutcher crutcher deleted the crutcher/resnet_50 branch November 2, 2025 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant