Code Monkey home page Code Monkey logo

local-global's People

Contributors

mundher 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

Watchers

 avatar  avatar

local-global's Issues

Predict question

I have a question Mr, Mundher @mundher. Why do you shorten the size of the predict and target vectors at the end of the predict function? Normally, do you use 255 to test, right? After you do that .view the data now is 86. Could you explain to me why?

all_pred = all_pred.view(-1, 3).mean(dim=1) all_targets = all_targets.view(-1, 3).mean(dim=1)

Seriesuid/studyuid of preprocessed data

Thank you for making your version of the LIDC data available. I am trying to link your data back to the LIDC. Is there a correspondence between the preprocessed data and the indexing used in LIDC? Is the seriesuid or the studyuid of the preprocessed data available? Thank you.

FileNotFoundError

Dear Mundher,
I have unpacked the images, put the proper path, but I get the following error:

Experiment LocalGlobalNetwork ------------ fold 1 ------------ Traceback (most recent call last): File "/home/mike/local-global-master/experiments.py", line 200, in <module> experiments[exp_name](data_path) File "/home/mike/local-global-master/experiments.py", line 74, in expLocalGlobal deterministic=True File "/home/mike/local-global-master/kflod.py", line 53, in kfold trset, testset = dataset_func(path.join(src_path,str(fold))) File "/home/mike/local-global-master/preprocessing.py", line 87, in get_dataset im = imread(path.join(dir,f'{id:.0f}.{j}.png')) File "/home/mike/anaconda3/envs/DeepLung-1-NEW/lib/python3.7/site-packages/imageio/core/functions.py", line 265, in imread reader = read(uri, format, "i", **kwargs) File "/home/mike/anaconda3/envs/DeepLung-1-NEW/lib/python3.7/site-packages/imageio/core/functions.py", line 172, in get_reader request = Request(uri, "r" + mode, **kwargs) File "/home/mike/anaconda3/envs/DeepLung-1-NEW/lib/python3.7/site-packages/imageio/core/request.py", line 124, in __init__ self._parse_uri(uri) File "/home/mike/anaconda3/envs/DeepLung-1-NEW/lib/python3.7/site-packages/imageio/core/request.py", line 260, in _parse_uri raise FileNotFoundError("No such file: '%s'" % fn) FileNotFoundError: No such file: '/home/mike/local-global-master/lidc_img/0/0.0.png

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.