Giter Club home page Giter Club logo

marrlab / shapr_torch Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 10.0 11.41 MB

SHAPR: Code for "Capturing Shape Information with Multi-Scale Topological Loss Terms for 3D Reconstruction"

Home Page: https://shapr.topology.rocks

License: BSD 3-Clause "New" or "Revised" License

Python 98.46% Shell 1.54%
cubical-complexes deep-learning image-reconstruction persistent-homology pytorch segmentation topological-data-analysis topological-machine-learning

shapr_torch's People

Contributors

dlmldw avatar pseudomanifold avatar rmcdomaths avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

shapr_torch's Issues

How to reproduce results?

Hello!

Dear colleagues, I'm trying to reproduce results from your paper.
I have downloaded data and executed scripts, assuming that the first one is SHAPR and the second one is SHAPR+topological loss:

python run_train_script.py -p config/red-blood-cell.json
python run_train_script.py -p config/red-blood-cell-2D.json

Training has finished, but numbers on a test set which I see in WanDB are different from numbers in your paper (https://arxiv.org/pdf/2203.01703.pdf, Table 1).
In fact the list of metrics in WanDB (IoU_Error, dice_error, volume_error) are different from the errors presented in the paper (1 โˆ’ IoU, Volume, Surface area, Surface roughness).
The script "shapr/scripts/evaluation.py" only outputs figures.

Can you please give a hint how to reproduce results?

wandb (Weights and Biases) logging included in the code

I have not used wandb before but it seems to be an alternative to traditional Python logging which saves logs to a website? I have not been able to run the code with the references to wandb included (it requires a login and then refuses access to this project). The code seems to work if I comment out any reference to wandb, but rather than submitting a pull request for this, I thought I would submit this Issue in case wandb has been intentionally left in? As far as I can see, there are only references to wandb in the main.py file.

Implementation Details: topo_feat_s

Hi,

In the _settings.py file, we have the default setting "topo_feat_s=False", which means "do no use superlevel features". But in the paper, the authors applied a superlevel set filtration, which means constructing cubical complexes by retaining vertices above a sequence of thresholds.

Could you answer the questions below?

  1. which setting for "topo_feat_s" is used
  2. from your experience, what is the effect of superlevel and sublevel set filtration?

Best,
Vincent

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.