dougsm / ggcnn

Generative Grasping CNN from "Closing the Loop for Robotic Grasping: A Real-time, Generative Grasp Synthesis Approach" (RSS 2018)
BSD 3-Clause "New" or "Revised" License
484 stars 138 forks source link

can the ggcnn deal with the image of different size #51

Open CodeKingWang opened 1 year ago

CodeKingWang commented 1 year ago

Can this network handle 1280*720 pictures

dougsm commented 1 year ago

Because it is a CNN, there is no technical reason why it shouldn't work. The network was trained on 300*300 images, so might not work properly out of the box, in which case you could re-train it for your desired size. Hope that helps.

Hongbo-Z commented 1 year ago

Can this network handle 1280*720 pictures

An easy way is to crop your images and make length = width, such as from 1280 720 to 720 720, then resize it to 300* 300 to fit the input size of GG-CNN.