Giter Site home page Giter Site logo

kkgadiraju / multi-modal-crop-classification Goto Github PK

View Code? Open in Web Editor NEW
25.0 5.0 14.0 3.33 MB

Code for the paper Multi Modal Deep Learning Based Crop Classification Using Multispectral and Multitemporal Satellite Imagery published in KDD Applied Data Science Track 2020

License: MIT License

Python 99.93% Shell 0.07%
crop-classification deep-neural-networks two-stream remote-sensing

multi-modal-crop-classification's People

Contributors

kkgadiraju avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

multi-modal-crop-classification's Issues

data points

Thank you for your remarkable work. I would like to inquire about the principle of data point selection in your paper. I noticed that you mentioned collecting over 60,000 data points, and I'm curious about how you determined these points. Was it simply based on intuition, or are the coordinates of these points the center of counties? This point has puzzled me, although you wrote in your paper about selecting based on the major crops of the states.

"ValueError: Tried to convert 'y' to a tensor and failed. Error: None values not supported."

Hello, your paper on the multi-modal method on crop classification is really great.

But when I followed your readme, renamed data and result folders' names, then tried to replicate your result using "train-gridsearch.py" in folders lstm or bilstm, I encountered the error message of "ValueError: Tried to convert 'y' to a tensor and failed. Error: None values not supported."

When I dug into the codes, I found it happened when it called line 92 in "optimziers.py": "None in grads". I am wondering whether you have any encounter this issue or have you got any suggestion for me?

Thank you very much for your reading and help.

Error While Running the concatenation model

I was running the concatenation module and i did not alter any model layer values but still facing the error:
File "train-gridsearch.py", line 203, in
history = model.fit(train_generator,
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/keras/engine/training.py", line 1187, in fit
tmp_logs = self.train_function(iterator)
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/tmp/autograph_generated_file52u8rjgw.py", line 15, in tf__train_function
retval
= ag
_.converted_call(ag__.ld(step_function), (ag__.ld(self), ag__.ld(iterator)), None, fscope)
File "/usr/local/lib/python3.8/dist-packages/keras/utils/traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/usr/local/lib/python3.8/dist-packages/keras/engine/input_spec.py", line 232, in assert_input_compatibility
raise ValueError(
ValueError: in user code:

File "/usr/local/lib/python3.8/dist-packages/keras/utils/traceback_utils.py", line 70, in error_handler
    raise e.with_traceback(filtered_tb) from None
File "/usr/local/lib/python3.8/dist-packages/keras/engine/input_spec.py", line 232, in assert_input_compatibility
    raise ValueError(

ValueError: Input 0 of layer "zero_padding2d" is incompatible with the layer: expected ndim=4, found ndim=2. Full shape received: (None, 1)

Can u please help why it is showing this behavior as model layer values are alright

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.