We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why do the model have this two parameter ?
pytorch-yolo-v3/detect.py
Line 177 in fbb4ef9
In addition,why do the get_test_input function imread dog-cycle-car.png although for different test images?
get_test_input
def get_test_input(input_dim, CUDA): img = cv2.imread("dog-cycle-car.png") img = cv2.resize(img, (input_dim, input_dim)) img_ = img[:,:,::-1].transpose((2,0,1)) img_ = img_[np.newaxis,:,:,:]/255.0 img_ = torch.from_numpy(img_).float() img_ = Variable(img_) if CUDA: img_ = img_.cuda() num_classes return img_
The text was updated successfully, but these errors were encountered:
No branches or pull requests
why do the model have this two parameter ?
pytorch-yolo-v3/detect.py
Line 177 in fbb4ef9
In addition,why do the
get_test_input
function imread dog-cycle-car.png although for different test images?The text was updated successfully, but these errors were encountered: