Comments (9)
Have early_stop_value='loss' in HP
from slideflow.
What is your Tensorflow version? And what branch are you on?
from slideflow.
tensorflow 2.0.0-beta1, on nightly branch. i switched to master but that doesn't have latest updates we've made like adding the newest hyperparameters
from slideflow.
This is due to the fact that Tensorflow changed how the accuracy metric is stored in the "logs" dictionary, from 'acc'
to 'accuracy'
. The latest dev branch reflects this update but has not yet been merged into nightly. To circumvent the issue until I merge into nightly, search for all instances of 'acc'
in slideflow/model.py
and replace with 'accuracy'
. There should be 9 instances.
I'll hopefully be able to merge my dev
changes into nightly
soon.
Edit: I'd also recommend upgrading Tensorflow to v2.1, as there was a security flaw found in 2.0 that has been subsequently patched. Requirements for the Slideflow package is now TF v > 2.1
from slideflow.
i replaced all of the 'acc' with 'accuracy' but that did not solve the problem. I deleted the acc: logs['accuracy'] part from the string in line 705 and that did solve the problem. i think that the logs object must not contain 'accuracy' (I wasn't sure what exactly logs was). The logs['loss'] works, so it's something with 'accuracy' specifically. So i'm not sure how to fix that, but it's working right now.
I upgraded to TF 2.1, which required update on the machine to CUDA 10.1.
from slideflow.
What outcomes are you training to, and are the outcomes linear or categorical?
from slideflow.
right now, linear. haven't tested with categorical
from slideflow.
Figured it out. It was a problem in the logging of the exponential moving average, which assumed you were using a categorical model. I've now fixed it so that it will work with linear models. Doing some final bug checking before pushing the update, will let you know when the update hits the dev
or nightly
branch.
from slideflow.
Fixed in c856426
from slideflow.
Related Issues (20)
- [BUG] build_feature_extractor HOT 5
- TypeError: __init__() got an unexpected keyword argument 'multi_gpu' HOT 3
- MRXS Slide Ramdisk buffer Bug HOT 1
- [BUG] val_strategy='bootstrap' does not create .json file for the bootstrapped split to be referenced later HOT 1
- Generate features from SimCLR model HOT 2
- Saving tiles with the ROI index HOT 3
- [Documentation] Optimization space documentation missing HOT 3
- [BUG] Providing extractor argument to sf.mil.eval.predict_slide throws error HOT 1
- [BUG] Datasets do not pass `min_tiles` filter when training GANs HOT 3
- An approach to consider multiple slides per patient with weak labels. HOT 7
- [BUG] Unable to tile WSIs HOT 2
- Balancing Unbalanced Categorical Datasets with Image Augmentation HOT 6
- Environment file environment.yml update for slideflow version 2 HOT 3
- [BUG] .mrxs slides missing MPP (openslide.mpp-x) error HOT 4
- [help wanted] Unable to load dataset in a new project HOT 4
- [BUG] PIL.UnidentifiedImageError: cannot identify image file HOT 4
- [BUG] Unable to generate heatmaps when stride_div > 1 for MIL models HOT 2
- Bootstrap HOT 1
- [BUG] File path cannot be properly resolved on Windows HOT 1
- [HistoSSL/heatmaps] MIL model attention heatmaps display bright lines when use histoSSL as the feature extractor HOT 4
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 slideflow.