All authors
wenmin-wu avatar

Claude Skills by wenmin-wu

github.com/wenmin-wu
535 skillsA× 5350 installs253 views
2d To 3d Model ConversionA

Converts a pretrained 2D CNN into a 3D CNN by recursively replacing Conv2d/BN2d/Pool2d layers and inflating kernel weights along the depth axis.

developmentpython
0
61
3d Center Crop Zero PadA

Select center slices from a 3D volume and zero-pad along depth when the scan has fewer slices than the target count

toolspython
0
61
3d Encoder 2d Decoder SegmentationA

3D ResNet encoder extracts volumetric features, pools depth dimension, then feeds into a 2D UNet/FPN decoder for segmentation

developmentpythonexpress
0
61
3d Mixup AugmentationA

Applies Mixup augmentation to 3D volumetric images and their segmentation masks, interpolating both inputs and loss targets.

datapythongit
0
61
3d Patch Sliding Window InferenceA

Tiles 3D volumes into overlapping patches for inference and averages overlapping regions to produce seamless predictions.

documentationpython
0
61
Albumentations Detection AugmentationA

Applies albumentations augmentations to object detection data while preserving bbox-label correspondence via BboxParams.

datapythongo
0
61
Anisotropic Spacing Trilinear ResampleA

Resample a 3D medical volume to a fixed network input shape using physical voxel spacing (dz, dy, dx), correcting the Z dimension by the dz/dy ratio so anisotropic CT scans (1mm in-plane, 5mm slice) end up anatomically isotropic before trilinear interpolation

developmentpython
0
61
Arcface Metric LearningA

ArcFace angular margin loss layer for learning discriminative embeddings — used in image retrieval, product matching, and face recognition

ai-agentspythonangular
0
61
Attention Lstm Image CaptioningA

Show-Attend-Tell decoder: Bahdanau additive attention over CNN spatial features driving a gated LSTMCell for autoregressive image-to-sequence generation.

ai-agentspythonexpress
0
61
Batch All Contrastive LossA

All-vs-all contrastive loss comparing every pair in a batch (N^2 pairs) with margin and compactification regularizer

ai-agentspython
0
61
Bbox Augmentation Retry LoopA

Wrap albumentations bbox transforms in a 10-attempt retry loop that re-rolls the augmentation when all boxes get cropped out, preventing empty-target samples from poisoning the detection loss with NaN gradients

datapython
0
61
Bbox Interpolation Temporal TrackingA

Interpolate missing bounding boxes across video frames using bidirectional pandas interpolation to maintain smooth tracking through occlusions

datapython
0
61
Bce Dice Combined LossA

Combines BCE-with-logits and soft Dice loss with configurable weights for binary and multilabel segmentation training.

toolspythongit
0
61
Bev Conv1 Channel ExpansionA

Replace a pretrained ResNet's conv1 with a wider input conv to accept stacked BEV raster channels (semantic map + agent history) while keeping downstream weights

developmentpythongo
0
61
Bigru Slice Feature AggregatorA

Two-stage CT classifier where a 2D CNN dumps per-slice features once, then a bidirectional GRU runs over the slice sequence to produce both per-slice predictions (TimeDistributed head) and an exam-level prediction (avg+max pooled head) — turns expensive 3D CNN training into cheap sequence modeling

developmentpython
0
61
Black Border AutocropA

Crops uninformative black or dark borders from images by deriving a binary mask from the grayscale channel and trimming rows/columns.

content-marketingpython
0
61
Black Slice ReplacementA

Detect all-black DICOM/MRI slices (mean==0) and replace them by randomly sampling a non-black slice from the same series

developmentpython
0
61
Brovey PansharpeningA

Fuse low-resolution multispectral bands with a high-resolution panchromatic band using the Brovey transform to produce sharp multi-band imagery

toolspython
0
61
Center Z Slice SelectionA

Select a fixed number of Z-slices centered around the volume midpoint for memory-efficient 2.5D input from 3D CT/MRI stacks

developmentpython
0
61
Centroid Distance Anomaly ScoreA

Score each face in a video as anomalous by computing L2 distance from the embedding centroid of all faces, then convert to probability via logistic function

ai-agentspython
0
61
Chunked Csv Image GeneratorA

Memory-efficient Keras generator that streams sharded CSV files in chunks, renders strokes to images on-the-fly, and yields batches for training on datasets too large for memory

datapython
0
61
Chunked Gpu Similarity SearchA

Compute pairwise cosine similarity on GPU in fixed-size chunks to avoid OOM, transferring only threshold-passing results to CPU

ai-agentspython
0
61
Class Balanced Epoch UndersamplingA

Dynamically undersample majority class each epoch with per-class keep probabilities for stochastic balance

toolspython
0
61
Class Density Threshold Patch SamplingA

Sample training patches from large images using per-class area-fraction thresholds to ensure each patch contains meaningful object coverage

toolspython
0
61
Classifier Free Guidance DiffusionA

Manual stable diffusion inference loop with classifier-free guidance that interpolates between unconditional and conditional noise predictions for controllable image generation

ai-agentspython
0
61
Classifier Gated Detection PostprocessA

Uses a binary classifier's probability to gate object detector outputs in three tiers: keep detections, append a no-finding box, or replace all detections.

datapythonrust
0
61
Clip Aesthetic ScoringA

Scores image aesthetic quality by passing L2-normalized CLIP ViT-L/14 embeddings through a trained MLP regressor head.

toolspythongo
0
61
Clip Interrogator CaptioningA

Generate descriptive text prompts from images by combining BLIP captioning with CLIP cosine similarity against curated label banks for medium, movement, and flavor attributes

ai-agentspythongo
0
61
Cnn Encoder Spatial Feature MapA

Strips the global pool and FC head from a pretrained CNN to expose spatial feature maps (H x W x C) for attention-based decoding.

developmentpython
0
61
Cnn Metadata Fusion HeadA

Fuse CNN image features with a small tabular MLP branch via concat before a final classifier, training both branches end-to-end

developmentpythongo
0
61
Cnn Rnn Video ClassificationA

Extract per-frame CNN features then classify the temporal sequence with stacked GRU layers and a boolean mask for variable-length video inputs

datapythonperformance
0
61
Coco Annotation ConversionA

Convert per-instance RLE or polygon annotations to COCO JSON format for seamless use with Detectron2 and MMDetection

datapythongo
0
61
Combinatorial Deletion Point MatchingA

Match two unequal-length point sets by enumerating which points to drop from the longer set, searching over deletion combinations

toolspythongo
0
61
Concat Tile Feature PoolingA

Passes N tiles independently through a shared CNN backbone, concatenates their feature maps spatially, then pools for classification — a lightweight multi-instance learning approach.

developmentpython
0
61
Confidence Threshold MultilabelA

Assigns multiple labels per sample using a confidence threshold on sigmoid outputs with a fallback negative class.

toolspython
0
61
Connected Components Centroid ExtractionA

Extracts object centers from 3D segmentation masks using connected-component labeling and centroid computation.

developmentpython
0
61
Conv1d Lstm Stroke ClassifierA

Stack 1D convolutions for local feature extraction before bidirectional LSTMs to classify variable-length stroke sequences into hundreds of doodle categories

developmentpythongo
0
61
Coverage Stratified SplitA

Stratify train/validation split by binned mask coverage percentage to ensure balanced foreground representation in segmentation tasks

testingpython
0
61
Cross View Count Consistency FilterA

Drop false-positive detections by requiring matched per-frame box counts across paired synchronized camera views (Endzone vs Sideline) — if both views see the same scene at the same instant, true events should appear in both

testingpython
0
61
Ct Z Stack Orientation FlipA

Detect inverted CT slice ordering by comparing ImagePositionPatient[2] (the Z coordinate) of the first and last DICOM slice in a series, flipping the volume along axis 0 when needed so every patient ends up in canonical head→feet order

toolspython
0
61
Cumulative Sum ChannelA

Add a cumulative sum channel along the vertical axis to capture directional structural trends in grayscale images for segmentation

datapython
0
61
Dbscan Ensemble FusionA

Fuses 3D object detections from multiple models by clustering nearby predictions with DBSCAN and taking cluster centroids.

toolspython
0
61
Deepsort Majority Vote RelabelA

Run DeepSort on per-frame detections then overwrite each track cluster's label with the most common mapped label across the track's lifetime

datapython
0
61
Detectron2 Custom Data MapperA

Custom Detectron2 data mapper with photometric augmentations that properly transforms images, bounding boxes, and instance masks in sync

documentationpython
0
61
Deterministic Hash PartitioningA

Partition a large dataset into N balanced shards using integer key modulo arithmetic for reproducible, class-interleaved splits across CSV files

datapythongo
0
61
Dice LossA

Dice coefficient loss for pixel-level segmentation that directly optimizes the overlap between predicted and ground-truth masks.

developmentpythongit
0
61
Dicom 12bit Pixel CorrectionA

Fix pixel overflow artifacts in 12-bit unsigned DICOM files where values wrap around at 4096

businesspython
0
61
Dicom Freq Histogram NormalizationA

Normalize DICOM pixel values using frequency-equalized histogram bins for globally consistent non-linear intensity mapping

datapython
0
61
Dicom Hounsfield NormalizationA

Convert raw DICOM pixel arrays to Hounsfield Units using per-slice RescaleSlope/RescaleIntercept, with outside-scanner clamping

datapython
0
61
Dicom Ipp Z Slice SortA

Order DICOM slices into a coherent 3D volume by sorting on ImagePositionPatient[2] (the Z coordinate in patient space), with a filename-integer fallback for series whose tag is missing — never trust filename alphabetical order, never trust InstanceNumber

toolspythonrust
0
61