Git Product home page Git Product logo

Comments (25)

deepakrana47 avatar deepakrana47 commented on July 28, 2024

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

I am looking into the problem it may take some time (around 2 days), so wait for the time being.

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

@Arfinul the changes has been done you can test now.

from wheat-quality-detector-2.

himanshuhemu avatar himanshuhemu commented on July 28, 2024

Still Modules like codes, Area and _8connected not found !!

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

can you provide the python file name on which you are getting the error

from wheat-quality-detector-2.

himanshuhemu avatar himanshuhemu commented on July 28, 2024

no module named threshold

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

try after pulling the git repo. As, at my end code is working just fine.

from wheat-quality-detector-2.

himanshuhemu avatar himanshuhemu commented on July 28, 2024

I'm getting an import error of threshold module while running cmd_wheat_quality_detector_v2.py

from wheat-quality-detector-2.

himanshuhemu avatar himanshuhemu commented on July 28, 2024

screenshot from 2018-11-12 10-31-50

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

I have pushed the new code, you can test it now.

from wheat-quality-detector-2.

himanshuhemu avatar himanshuhemu commented on July 28, 2024

from wheat-quality-detector-2.

Arfinul avatar Arfinul commented on July 28, 2024

Thank you for sharing all required modules to execute.

I have Python 2.7.15 installed on window 10
But can't install "tensorflow", as tensorflow doesn't support python2.7 on windows.

Tried to execute on Python3, after doing some change like printing format etc..
But getting error :
image

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

from wheat-quality-detector-2.

Arfinul avatar Arfinul commented on July 28, 2024

I think if I will generate "weights_30_30_.h5" model file, with the environment installed.
Then it will work.
But I am not able to file the module to generate this model file.

The same issue was there with "grain_feature.pkl", but i regenerated it and it worked.

Can you please share the python module generating this model file ("weights_30_30_.h5) ?

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

classifier_2_v5.py and classifier_2_v2.py are used for generation of weight_30_30_.h5 file

from wheat-quality-detector-2.

Arfinul avatar Arfinul commented on July 28, 2024

Thanks to reply.
But, which python file I should execute for generating "weight_30_30_.h5 file" ?

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

execute this file "classifier_2_v2.py"

from wheat-quality-detector-2.

Arfinul avatar Arfinul commented on July 28, 2024

I executed but this is creating .h5 file of the classifier.
But there is need of creating .h5 file of the segmentation data that will help in 2nd level segmentation.

How to create this file - segmentation_data/weights_30_30_.h5 ?

from wheat-quality-detector-2.

Arfinul avatar Arfinul commented on July 28, 2024

Model files uploaded before:
segmentation_data/weights_30_30_.h5
weights_results_2out/weights_01234567.pkl

Now, executed "classifier_2_v2.py", and created "weights_01234567.h5", before was creating "weights_01234567.pkl"

Model files now are as below:
'segmentation_data/weights_01234567.h5'
weights_results_2out/weights_01234567.h5'

Stuck at 2nd level Segmentation, Please Suggest ...

image

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

@Arfinul I had added the "Number_grain_detect.py" and dataset (segmentation_data/boundry_1_30.pkl and segmentation_data/boundry_2_30.pkl). "Number_grain_detect.py" file is used for generating "segmentation_data/weights_30_30_.h5".

for level 2 segmentation you can go through my paper (https://www.ijeecse.com/V5N1-023.pdf).

from wheat-quality-detector-2.

Arfinul avatar Arfinul commented on July 28, 2024

Thank's to share.
Now as i expected, getting an error as below.
image
As, "boundry_1_30.pkl" and "boundry_2_30.pkl" has been created in your system environment.
Hence, not getting executed in my system environment(having tensorflow python3 ).

Kindly share the file to create "boundry_1_30.pkl" and "boundry_2_30.pkl", so that i can create them in my system environment.

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

"boundry_1_30.pkl" and "boundry_2_30.pkl" these two file i had already shared (present in segmentation_data/ ). The problem is arise due to opening python2.7 pickle file in python3.

for opening python 2.7 pickle file in python3
Replace following:
oneGrain_list = pickle.load(open(oneGrain, 'rb'))
by this:
oneGrain_list = pickle.load(open(oneGrain, 'rb'), encoding='latin')

from wheat-quality-detector-2.

Arfinul avatar Arfinul commented on July 28, 2024

Fixed - Executed successfully
Thank you..

from wheat-quality-detector-2.

deepakrana47 avatar deepakrana47 commented on July 28, 2024

from wheat-quality-detector-2.

Arfinul avatar Arfinul commented on July 28, 2024

For sure.
Will definitely add your paper as a reference, As your code and paper have participated in understanding the approach and is the latest too.
Having some research idea on this topic. Working on the same.
Will contact you for any suggestion.
Thank you

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.