Git Product home page Git Product logo

Comments (5)

deepakrana47 avatar deepakrana47 commented on July 28, 2024

For your first problem, I have not used anaconda. So I will not be able to help you execute the code with anaconda.

Second, I will update the repository for python3.

Thirdly, the approach I had used is explained in the following link [https://github.com/dhishku/Machine-Learning-for-Grain-Assaying/blob/master/interim_project_report.pdf]. So, by going through this document you will get the understanding of process and concept used in the code.

from wheat-quality-detector-2.

Sunil-430 avatar Sunil-430 commented on July 28, 2024

Thank you for updating the repository in python 3.
But still, I am facing the same issue. I am getting the error like this

Traceback (most recent call last):
File "C:/Users/Kaluram ji/PycharmProjects/MY_majorproject-11/Wheat-quality-detector-2-master/segment_formation_v6.py", line 15, in
model = keras.models.load_model(mFile)
File "C:\Users\Kaluram ji\Anaconda3\envs\PycharmProjects\lib\site-packages\tensorflow_core\python\keras\saving\save.py", line 146, in load_model
return hdf5_format.load_model_from_hdf5(filepath, custom_objects, compile)
File "C:\Users\Kaluram ji\Anaconda3\envs\PycharmProjects\lib\site-packages\tensorflow_core\python\keras\saving\hdf5_format.py", line 168, in load_model_from_hdf5
custom_objects=custom_objects)
File "C:\Users\Kaluram ji\Anaconda3\envs\PycharmProjects\lib\site-packages\tensorflow_core\python\keras\saving\model_config.py", line 55, in model_from_config
return deserialize(config, custom_objects=custom_objects)
File "C:\Users\Kaluram ji\Anaconda3\envs\PycharmProjects\lib\site-packages\tensorflow_core\python\keras\layers\serialization.py", line 106, in deserialize
printable_module_name='layer')
File "C:\Users\Kaluram ji\Anaconda3\envs\PycharmProjects\lib\site-packages\tensorflow_core\python\keras\utils\generic_utils.py", line 292, in deserialize_keras_object
config, module_objects, custom_objects, printable_module_name)
File "C:\Users\Kaluram ji\Anaconda3\envs\PycharmProjects\lib\site-packages\tensorflow_core\python\keras\utils\generic_utils.py", line 254, in class_and_config_for_serialized_keras_object
for key, item in cls_config.items():
AttributeError: 'list' object has no attribute 'items'

Process finished with exit code 1

from wheat-quality-detector-2.

Sunil-430 avatar Sunil-430 commented on July 28, 2024

I am confused... Is it because of the editor that I am(pycharm) using?

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

hi @Sunil-430 , I had updated the repo for python3. So, check it out
the requirment are also updated. If still facing the problem let me know.

from wheat-quality-detector-2.

Sunil-430 avatar Sunil-430 commented on July 28, 2024

Thank you @deepakrana47... It worked

from wheat-quality-detector-2.

Related Issues (5)

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.