J
Joshua Lin
Guest
Joshua Lin Asks: How to best train a CNN with longitude/latitude output
Problem
I am new to CNNs and I'm starting off with a geolocation problem where the input is an image and the output should be a longitude value and a latitude value.
I am unsure of the best way to implement this and I'm having problems finding examples online to help. The most similar ones I can find use a grid/tile approach w/ probabilities rather than having the output be long/lat values directly. I would prefer to stick to this approach if possible.
Current Approach
I'm working with TensorFlow and currently have it set up so that the last layer is Dense(2).
I am using MSE as the loss function, although I think that's probably not ideal. I'm guessing I should use geodesic distance (Haversine formula).
Problem
I am new to CNNs and I'm starting off with a geolocation problem where the input is an image and the output should be a longitude value and a latitude value.
I am unsure of the best way to implement this and I'm having problems finding examples online to help. The most similar ones I can find use a grid/tile approach w/ probabilities rather than having the output be long/lat values directly. I would prefer to stick to this approach if possible.
Current Approach
I'm working with TensorFlow and currently have it set up so that the last layer is Dense(2).
I am using MSE as the loss function, although I think that's probably not ideal. I'm guessing I should use geodesic distance (Haversine formula).
SolveForum.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your thoughts here to help others.