Giter Club home page Giter Club logo

Comments (6)

juliandewit avatar juliandewit commented on May 21, 2024

I cannot run the debugger but do you have traindata in place ?

from kaggle_ndsb2017.

louiskoo520 avatar louiskoo520 commented on May 21, 2024

Thanks.I just place wrong place. Besides why file trained_model.rar cannot download ?

from kaggle_ndsb2017.

juliandewit avatar juliandewit commented on May 21, 2024

Please try again..
It seems to work now.
https://retinopaty.blob.core.windows.net/ndsb3/trained_models.rar

from kaggle_ndsb2017.

juliandewit avatar juliandewit commented on May 21, 2024

I cannot run the debugger but do you have the trained model in place ?

from kaggle_ndsb2017.

louiskoo520 avatar louiskoo520 commented on May 21, 2024

In step4_train_submissions , variable 'extension' is assigned at this:
for extension in extensions:
src_dir = settings.NDSB3_NODULE_DETECTION_DIR + "predictions" + str(int(magnification * 10)) + extension + "/"
pred_nodules_df = pandas.read_csv(src_dir + patient_id + ".csv")
pred_nodules_df = pred_nodules_df[pred_nodules_df["diameter_mm"] > 0]
pred_nodules_df = pred_nodules_df[pred_nodules_df["nodule_chance"] > nodule_th]
pred_df_list.append(pred_nodules_df)

Traceback (most recent call last):
File "D:/Python/code/Kaggle/Bowl2017/step4_train_submissions.py", line 397, in
combine_nodule_predictions(None, train_set=False, nodule_th=0.7, extensions=[model_variant])
File "D:/Python/code/Kaggle/Bowl2017/step4_train_submissions.py", line 130, in combine_nodule_predictions
target_path = settings.BASE_DIR + "xgboost_trainsets/" "train" + extension + ".csv" if train_set else settings.BASE_DIR + "xgboost_trainsets/" + "submission" + extension + ".csv"
UnboundLocalError: local variable 'extension' referenced before assignment

from kaggle_ndsb2017.

louiskoo520 avatar louiskoo520 commented on May 21, 2024

dicom raw data must have to include stage2 with this code ?
I find you use file combine_nodule_predictions.csv in function 'combine_nodule_predictions'?

from kaggle_ndsb2017.

Related Issues (20)

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.