GithubHelp home page GithubHelp logo

Comments (3)

oduwa avatar oduwa commented on August 28, 2024

Thanks for letting me know about this. I've now fixed the issue but realised that this was written with the most current version of tensorflow in 2016 so you will need tensorflow version r0.7, I think. This is because the newer definitions of skflow.DNNClassifier() changed to require the feature_column field in the constructor, which is not provided in the project (as it didn't exist when it was written)

from pic-numero.

sepidehhosseinzadeh avatar sepidehhosseinzadeh commented on August 28, 2024

Thanks for your response. Now I have the following error:

Traceback (most recent call last):
File "test.py", line 4, in
count = PicNumero.run_with_cnn(imagePath)
File "/home/ec2-user/SageMaker/research/Pic-Numero/PicNumero/PicNumero.py", line 161, in run_with_cnn
r = CNN.classify(img_data[0], model_file=None,featureRepresentation='glcm', shouldSaveResult=True)
File "/home/ec2-user/SageMaker/research/Pic-Numero/PicNumero/CNN.py", line 262, in classify
clf = get_model(model_file)
File "/home/ec2-user/SageMaker/research/Pic-Numero/PicNumero/CNN.py", line 112, in get_model
classifier = skflow.DNNClassifier(feature_engineering_fn=conv_model, n_classes=2)
TypeError: init() takes at least 3 arguments (3 given)

from pic-numero.

oduwa avatar oduwa commented on August 28, 2024

Yes that's the error i was referring to in my earlier comment about skflow.DNNClassifier(). Are you using the august 2016 version of tensorflow (which i think is r0.7)?

from pic-numero.

Related Issues (1)

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.