InvalidArgumentError: Input matrix is not invertible

Hi All,

I hope you all are doing good.
I am trying to run the below given code repository that is written in tensorflow<=1.15. When I am running

“model.fit(x)”

it is throwing the following error…

InvalidArgumentError: Input matrix is not invertible.

for x.shape = (100,1) it was running perfectly fine

but when I am running it for x.shape = (100,6) it is throwing this error. Now it is not running even for x.shape=(100,1)

can any one help me over this issue