Git Product home page Git Product logo

dlvcnptel's Issues

Old code

Hi,

Code is old and having many issues in Pytorch 1
Please upgrade your code

Lecture 14 - Issue running on Python 3 after updating the code

Hi, I am facing issue while running this jupyter notebook (Lec 14- ALL-IDB dataset) on Python 3 after fixing the code. During the validation of the classifier it is giving the testing accuracy as 0.0 for all epochs. However the code runs fine for Python 2.
I really cannot get the issue. Please Help..!

AttributeError: 'numpy.ndarray' object has no attribute 'mask'

Hi,

I got this error, when running the lab lecture 3 on the line

plt.imshow(lbp_img,cmap='gray') #Displaying LBP

It would be really great if you suggested a workaround.

matplotlib and scikit-image versions i used...

matplotlib: 2.0.2-np113py27_0
scikit-image: 0.13.1-py27h14c3975_1

lecture3.ipynb

Hey, @rachana-sathish ,
Gabor filter gives output a complex number, with coefficients of real and imaginary part as follows
gaborFilt_real,gaborFilt_imag = gabor(img_arr,frequency=0.6)
For feature extraction, we are interested in magnitude of the output, therefore, we do the following
gaborFilt = (gaborFilt_real**2+gaborFilt_imag**2)//2

However, shouldn't be np.sqrt((gaborFilt_real**2+gaborFilt_imag**2)), |z|=sqrt(r^2+i^2)

I guess, it won't have any effect on training of the model, as the real and imaginary part have been incorporated in some form.

Thanks for your time and effort.

Old Code

Code in the repo is old. Please update it with the video/course lectures.

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.