Get the DEM, Satellite, Slope, and Aspect data for the region you want to use the model on (Data should be at least 10m). I recommend using https://apps.nationalmap.gov/downloader/
Open the following link in a new tab for the code to generate the files that will be used for the ML model. https://code.earthengine.google.com/db48d72a0f230c4ccc0a536f3addeac3?noload=true
IMPORTANT INFO: If you use the USGS link to download the data, the DEM data will be 10m, which is perfect. However, the satellite data will be 1m, which may make the file size too big for Google Earth Engine to import it. In that case, you may need to import the satellite data as separate GeoTiff files so that Google Earth Engine can handle the import. This won't be a problem, however, as there are instructions in the code as to how to deal with mutiple satellite files.
Click the "Run" button near the top of the code tab
Go to Google Drive and create a folder to store your data in
What you should see:
Once the code has finished running, go to the Tasks tab on the right-hand side of the screen and click the "RUN" button for the DEM task. Once the button is clicked, a prompt will pop up, asking you to enter some information. In the CRS section, enter EPSG:4326. Near the bottom, enter the Google Drive folder this data should be exported to as well as the file name. Then, click "RUN" and the process should begin.
Repeat Step 5 for the remaining tasks.
Go to Google Drive and create 3 empty folders
Folder 1:
Folder 2:
Folder 3:
Go inside of the "Chunks" Folder and create four more empty folders, one for each input type(DEM, Satellite, Slope, Aspect)
What you should see:
Check this GitHub project and find the "model.h5" file. Download that file, and save it to Google Drive.
Check this GitHub project and find the "FinalTalus.ipynb" file. Then, open it in Google Colab using the button.
Example 1:
Run the first cell (The one to import data stored in Google Drive). Do this by clicking on the cell, and then clicking on the small play button that appears on the left of the cell. Then, follow the instructions.
What you should see:
Go through the entire file and look for the green comments. Most are instructions that will help you set up the Colab correctly. Follow all of those instructions, and then begin running each cell in order.
IMPORTANT INFO: Most of the directions are regarding finding a path to a certain Google Drive file or folder. In order to find that path, click on the files tab to the left and choose the correct drop down options to get to your folder/file. Then, click on the three dots next to the file/folder name and click "Copy path". This will copy the path name to your clipboard, so you can just paste it where required.
Example:
You should now have a file that displays the areas where a talus is expected to be in the output folder you previously made. Check the image that is displayed to make sure the data seems accurate. It is a jpg, though, so unfortunately, there won't be any geographical data stored.