Closed leo4707 closed 4 years ago
The network has 3 outputs, the quality (Q), the angle and the grasp width (see https://arxiv.org/pdf/1804.05172.pdf). q_img
corresponds to the quality output.
cpu().numpy().squeeze()
are operations on the pytorch tensor to move the data from the gpu to cpu turn it into a 300x300 numpy array before doing any further processing. You can find out more in the pytorch documentation, e.g. cpu().numpy().squeeze()
Hope that helps :-)
Thanks to your explain.
@dougsm how about '--split' mean?
question1: What does the q_img mean? question2: What is the effect about "cpu().numpy().squeeze()"?