Coder Social home page Coder Social logo

koushikkumarl / capsulenetwork_cancerclassification Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 5.0 175 KB

Image classification on lung and colon cancer histopathological images through Capsule Networks or CapsNets.

Jupyter Notebook 100.00%
capsule-network capsnets classification-algorithm image-classification image-recognition cancer-detection lung-cancer-detection colon-cancer histopathology-images size-optimization

capsulenetwork_cancerclassification's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

capsulenetwork_cancerclassification's Issues

Inconsistent shapes error

Dear Friend, you have done a nice work. I have a problem during training the model. The error is ValueError: Inconsistent shapes: saw (6272, 2, 1, 2, 18) but expected (6272, 2, 1, 18)
I have tried multiple times but failed to solve this problem.

error\

Regards
Seemab

Unable to load data

I am facing issue while reading the dataset, I have ran all the cells before in code, and have reached this cell where data is being uploaded, I have entered the path to the main directory, yet the X_data and Y_data have not read the later files. Do I need to make amendments in the above part of the code to resolve this issue.Using this project as base I will be trying to incorporate multiple feature extractors instead of one.Hoping for a prompt reply.

Screenshot from 2022-04-22 11-54-03

X and Y Data

Nice work, I am a bit of novice myself just trying to recreate your note book. would you mind explaining what was the format of your Y_Data labels?
Have tried multiple ways but seem to just read in an array of 0โ€™s.
Regards,
David

TypeError: Expected int32, got None of type 'NoneType' instead

Hello Koushik
I'm new to deep learning, your work is awsome and easy to follow
I'm working on custom dataset (128,128,3) and i keep getting this error
TypeError: Expected int32, got None of type 'NoneType' instead

can you please help me fix this , i can't find any capsule network implementations other than MNIST and cifar.
Thank you.

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.