Ask Your Question

evgevd's profile - activity

2020-01-16 06:30:47 -0600 commented question DNN forwards only first image

np.zeros((20,64,64,3)) as input gives array([[0.99938166]], dtype=float32) as output Keras model in .h5, .pb and .pbtxt

2020-01-16 05:49:05 -0600 commented question DNN forwards only first image

np.zeros((20,64,64,3)) as input gives array([[0.99938166]], dtype=float32) as output Keras model in .h5, .pb and .pbtxt

2020-01-16 05:48:21 -0600 commented question DNN forwards only first image

np.zeros((20,64,64,3)) as input gives array([[0.99938166]], dtype=float32) as output Keras model in .h5, .pb and .pbtxt

2019-12-27 18:15:18 -0600 commented question DNN forwards only first image

https://answers.opencv.org/question/191013/dnn-loading-of-models-and-order-of-channels/ So it did not become clearer.

2019-12-27 18:03:24 -0600 commented question DNN forwards only first image

I tried. But it doesnt work. I see that my original keras model uses «channels last» so input array has shape (20, 64,

2019-12-27 06:28:22 -0600 commented question DNN forwards only first image

The same result on python with cv__version__ = 4.2.0 Did I correctly understand? You got multiple output after blobFrom

2019-12-27 02:27:38 -0600 commented question DNN forwards only first image

It is a binary classificator. When I run it on single images i got correct outputs. cv_pred = [] for img in imgs:

2019-12-27 02:27:09 -0600 commented question DNN forwards only first image

It is a binary classificator. When I run it on single images i got correct outputs. cv_pred = [] for img in imgs:

2019-12-27 02:12:18 -0600 commented question DNN forwards only first image

OpenCV 4.1. I use CNN with 64x64x3 on input and sigmoid on output layer. I got it by converting keras→tensorflow→openCV

2019-12-27 02:11:59 -0600 commented question DNN forwards only first image

OpenCV 4.1. I use CNN with 64x64x3 on input sigmoid on output layer. I got it by converting keras→tensorflow→openCV DNN.

2019-12-27 01:57:05 -0600 edited question DNN forwards only first image

DNN forwards only first image I make input for neural network with cv.dnn.blobFromImages, and then run forward function

2019-12-27 01:56:26 -0600 received badge  Editor (source)
2019-12-27 01:56:26 -0600 edited question DNN forwards only first image

DNN forwards only first image I make input for neural network with cv.dnn.blobFromImages, and then run forward function

2019-12-26 16:16:55 -0600 asked a question DNN forwards only first image

DNN forwards only first image I make input for neural network with cv.dnn.blobFromImages, and then run forward function

2019-11-27 11:50:02 -0600 received badge  Student (source)
2019-11-27 07:52:41 -0600 commented question Logistic Regression doesnt learn anything

I tried with normalization and got the same result: from sklearn.preprocessing import normalize train_features = normal

2019-11-27 07:51:27 -0600 commented question Logistic Regression doesnt learn anything

I tried with normalization and got the same result: from sklearn.preprocessing import normalize train_features = normal

2019-11-27 07:50:54 -0600 commented question Logistic Regression doesnt learn anything

I tried with normalization and got the same result: from sklearn.preprocessing import normalize train_features = norm

2019-11-27 01:02:20 -0600 commented question Logistic Regression doesnt learn anything

train_features.shape ((448, 4) train_labels.shape (448,))

2019-11-27 01:02:02 -0600 commented question Logistic Regression doesnt learn anything

train_features.shape, train_labels.shape ((448, 4), (448,))

2019-11-27 00:28:50 -0600 received badge  Enthusiast
2019-11-26 23:07:05 -0600 commented question Logistic Regression doesnt learn anything

No I didnt. Is it necessary in this case?

2019-11-26 22:28:21 -0600 asked a question Logistic Regression doesnt learn anything

Logistic Regression doesnt learn anything I train binary LR in python (opencv 3.1 and 4.1) and get always prediction = 1

2019-08-19 05:30:02 -0600 commented answer Jupyter kernel crashes after running "train" for decision tree classifier

It works! Thanx!

2019-08-19 05:29:42 -0600 marked best answer Jupyter kernel crashes after running "train" for decision tree classifier

I tried to perform training on my data and on toy example too. Command prompt doesnt show anything but the message about restarting.

segm_features = np.array([[1,0], [1,1], [0,1]])
labels = np.array([1,0,0])
cv_model = cv.ml.DTrees_create()
dtype = np.int32
train_data = cv.ml.TrainData_create(segm_features.astype(np.float32), cv.ml.ROW_SAMPLE, labels.astype(dtype))

cv_model.train(train_data)
2019-08-19 05:29:42 -0600 received badge  Scholar (source)
2019-08-19 04:03:03 -0600 commented question Jupyter kernel crashes after running "train" for decision tree classifier

3.4.2.17 with 4.1.0.25 too

2019-08-19 00:51:58 -0600 asked a question Jupyter kernel crashes after running "train" for decision tree classifier

Jupyter kernel crashes after running "train" for decision tree classifier I tried to perform training on my data and on