Downloads · 30 days
0
grvsnh/brainscan-tfjs
brainscan-tfjs is a image classification model from grvsnh. Use it when you need a label for an image. It is set up for keras. The card lists the license as mit.
This repository contains the weights and topology of the BrainScan classification model converted to TensorFlow.js layers format for in-browser client-side execution.
Downloads · 30 days
0
Access
Public
Updated Jul 13, 2026
Repo size
70.6 MB
Likes
0
Public
Click a slice to open those files.
.h542.4 MB · 59%
From the Hugging Face model README
This repository contains the weights and topology of the BrainScan classification model converted to TensorFlow.js layers format for in-browser client-side execution.
model.json: Patched TensorFlow.js Functional Model topology (Keras 3 compatible).group1-shard*of7.bin: Binary weights shards.model/brain_tumor_model.h5: The raw, pre-converted Keras H5 model.model/BrainScan_Model_Training.ipynb: Jupyter notebook containing the DenseNet model definition and training history.The model classifies T1/T2 brain MRI scans into four distinct categories:
gliomameningiomanotumor (Normal)pituitaryconst model = await tf.loadLayersModel('https://huggingface.co/grvsnh/brainscan-tfjs/resolve/main/model.json');
const prediction = model.predict(imageTensor);