Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renamed function is not updated when imported #29

Open
UriShavit opened this issue Jul 4, 2020 · 3 comments
Open

Renamed function is not updated when imported #29

UriShavit opened this issue Jul 4, 2020 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@UriShavit
Copy link

UriShavit commented Jul 4, 2020

Hello @muellerdo ,
First of all, thank you for sharing your knowledge and your experience.
I saw that this project is a modification of an older project you worked on.
In:

from miscnn.data_io import save_evaluation

you are trying to import save_evaluation.
I think you meant to import backup_evaluation.

Hope I'm not misleading.

Cheers,
Uri

@UriShavit UriShavit changed the title renamed function not updated Renamed function is not updated when imported Jul 4, 2020
@muellerdo muellerdo self-assigned this Jul 6, 2020
@muellerdo muellerdo added bug Something isn't working question Further information is requested labels Jul 6, 2020
@muellerdo
Copy link
Member

muellerdo commented Jul 6, 2020

Hey @UriShavit,

thanks for pointing this out! :)

This callback is deprecated code, as you already said correctly, from an older project in which I started to create MIScnn.

I have removed this code in the dev branch, now, and will merge this update into master the next days.

I personally use and highly recommend using the Keras callback CSVLogger:
https://www.tensorflow.org/api_docs/python/tf/keras/callbacks/CSVLogger

It basically is doing the same thing as my old callback, but the metrics are not hardcoded and it is the officially supported callback from the Keras team.

Example usage:

# Import stuff...
from tensorflow.keras.callbacks import CSVLogger

# Define Callbacks
cb_csv = CSVLogger("my_logs.csv")
callback_list = [cb_csv]

# Run training
model.train(sample_list, epochs=20, callbacks=callback_list)

First of all, thank you for sharing your knowledge and your experience.

Thank you. I would be glad if you can use MIScnn in your research.

Cheers,
Dominik

@UriShavit
Copy link
Author

UriShavit commented Jul 7, 2020 via email

@muellerdo
Copy link
Member

I am doing a project where I'm trying to reproduce your results as a first
stage.

Afterwards, I'll try to add data of early stages cysts to improve the
segmentation for this stages as well.

Good plan!

I'm hoping that you might help me - I tried to download the official DB
challenge, but the files seem to be corrupted....

Link to the source I used:

https://gitee.com/tanjiale/kits19/tree/master/data

Did you download the files from the same link?

Your provided link is not the official repository for the KiTS19 data set.

Try out this link: https://github.com/neheller/kits19
Run the following code for downloading the data:

git clone https://github.com/neheller/kits19
cd kits19
pip3 install -r requirements.txt
python3 -m starter_code.get_imaging

Cheers,
Dominik

@muellerdo muellerdo removed the bug Something isn't working label Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants