XuChunqiao / Tensorflow-Fast-MPNCOV

Fast_MPNCOV implemented by TensorFlow2.0 for training from scratch & finetuning; BCNN implemented by Tensorflow2.0 for finetuning;Compact BCNN implemented by Tensorflow2.0 for finetuning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In MPNCOV.py Line106

duanyucat opened this issue · comments

In MPNCOV.py Line106 .....tf.eye(dim)...
When I run the code, there have a 'TypeError: num_rows and num_columns must be positive integer values.'
Is the 'dim' wrong?

I run the code using the same MPNCOV.py, but I didn't encounter this error. So I don't know what results in the ERROR, and I don't think the type of 'dim' is wrong because of dim = x.shape[1], which can ensure the dim is positive integer values.