Coder Social home page Coder Social logo

silburt / deepmoon Goto Github PK

View Code? Open in Web Editor NEW
115.0 15.0 44.0 23.18 MB

Convolutional neural network code for extracting Lunar craters from Digital Elevation Maps (DEMs).

License: MIT License

Python 100.00%
convnet tensorflow moon astrophysics keras python deep-learning machine-learning

deepmoon's People

Contributors

cczhu avatar silburt 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deepmoon's Issues

Possible CNN tests following `mltest`

Chase Roberts created mltest for some simple tests of convnet integrity self-consistency. His code works for TensorFlow, and we support a version of Keras that can't auto-convert to TF, so perhaps we can rewrite his test suite for Keras use.

Data Leakage

The way you are cropping the images randomly to generate the datasets. Does it generates data leakage? Thanks

bug somewhere in get_unique_craters.py

@cczhu since you changed get_unique_craters.py there is now a bug in there somewhere. I ran a new set of extracting crater distributions and there are tons of nan entries in the long/lat coordinates, e.g.

[        nan         nan  4.65171524]
[       nan        nan  3.4377277]
[        nan         nan  7.02831142]
[        nan         nan  3.58227701]

not sure yet at the moment where the problem is, but you might better understand where it could be coming from? My guess is that it has to do with taking np.sin or np.cos of a number not in [-1,1] range, but I actually don't know at the moment. If you don't think you have time to look into this then I will.

It might ultimately be easier for me to look at it since I have the get_unique_craters.py pipeline set up and could just print everything every time a nan shows up....

uploading datasets

I think that the train/dev/test datasets belong on zenodo (and provide a shareable link in the DeepMoon readme and paper), but I think a final CNN-predicted crater distribution (for train/dev/test) belongs in this repo (in csv format), in the same folder as our LROC and Head datasets. What do you think @cczhu?

Can anyone help to explain the function estimate_longlatdiamkm

Hi, I just found there are some difference between the equation and the code in the function estimate_longlatdiamkm from get_unique_craters.py. That is , how to convert the pixel coordinate into latitude/longitude coordinate. Specifically, why there is sin and cos here.

    lat_deg = lat_central - (deg_per_pix * (lat_pix - dim[1] / 2.) *
                             (np.pi * latdiff / 180.) /
                             np.sin(np.pi * latdiff / 180.))
    # Determine longitude using determined latitude.
    long_deg = long_central + (deg_per_pix * (long_pix - dim[0] / 2.) /
                               np.cos(np.pi * lat_deg / 180.))

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.