Comments (25)
from wheat-quality-detector-2.
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.
@Arfinul the changes has been done you can test now.
from wheat-quality-detector-2.
Still Modules like codes, Area and _8connected not found !!
from wheat-quality-detector-2.
can you provide the python file name on which you are getting the error
from wheat-quality-detector-2.
no module named threshold
from wheat-quality-detector-2.
try after pulling the git repo. As, at my end code is working just fine.
from wheat-quality-detector-2.
I'm getting an import error of threshold module while running cmd_wheat_quality_detector_v2.py
from wheat-quality-detector-2.
from wheat-quality-detector-2.
I have pushed the new code, you can test it now.
from wheat-quality-detector-2.
from wheat-quality-detector-2.
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 :
from wheat-quality-detector-2.
from wheat-quality-detector-2.
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.
classifier_2_v5.py and classifier_2_v2.py are used for generation of weight_30_30_.h5 file
from wheat-quality-detector-2.
Thanks to reply.
But, which python file I should execute for generating "weight_30_30_.h5 file" ?
from wheat-quality-detector-2.
execute this file "classifier_2_v2.py"
from wheat-quality-detector-2.
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.
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 ...
from wheat-quality-detector-2.
@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.
Thank's to share.
Now as i expected, getting an error as below.
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.
"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.
Fixed - Executed successfully
Thank you..
from wheat-quality-detector-2.
from wheat-quality-detector-2.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wheat-quality-detector-2.