Comments (2)
Hi, based on the following lines, it seems gradient accumulation is not properly implemented:
HIPT/2-Weakly-Supervised-Subtyping/utils/core_utils.py
Lines 285 to 290 in a9b5bb8
A proper implementation should look like the following:
loss = loss / gc loss.backward() if (batch_idx + 1) % gc == 0: optimizer.step() optimizer.zero_grad()
Hi! I'm also working on reproducing this HIPT paper. Would you be interested in some discussion?
from hipt.
sure, happy to chat.
I’ve made my own version of the code here: https://github.com/clemsgrs/hipt
you can contact me at: clement (dot) grisi (at) radboudumc (dot) nl
from hipt.
Related Issues (20)
- Creating patches and extracting features for [4096 x 4096] HOT 3
- VIT-4096-WSI HOT 1
- Some issue about create patch. HOT 14
- knn_classifier
- .csv metadata file for colorectal dataset
- Got different results when runing the example "Using the HIPT_4K API" two times HOT 7
- Hurry!!!How to slove this problem? HOT 2
- a WSI image with a higher resolution
- The results of each inference are inconsistent HOT 2
- dino4k pretraining HOT 4
- Setting patient_strat=FALSE in subtyping HOT 3
- coordinates of 4k region embeddings
- Data preprocessing
- How to determine the survival score when a patient has multiple WSIs? HOT 1
- 4k attention visualization output kind of weird HOT 1
- Duration of Feature Extraction Using hipt4k Pretrained Model HOT 4
- Pretraining Dataset
- Visualization Disturbing Original H&E
- Poor performance on PRAD downstream
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hipt.