DeepGS icon indicating copy to clipboard operation
DeepGS copied to clipboard

Issue with the code

Open kadiliissaar opened this issue 4 years ago • 7 comments

Hello!

Line 393 in the training script (run_training.sh) MSE_dev = tester.test(dataset_dev)[0] raises an error ValueError: Found array with 0 sample(s) (shape=(0,)) while a minimum of 1 is required.

This is probably because dataset_dev, dataset_test = split_dataset(dataset_, 0.5) produces dataset_dev as []

Is it possible for you to look into this please?

Thank you and best wishes, Kadi

kadiliissaar avatar Sep 28 '20 12:09 kadiliissaar

Hi! I got the same problems. Have you solved this problem?

menggerSherry avatar Jul 05 '21 08:07 menggerSherry

He did the wrong the pre-progress. The length of the 5 components are not the same length -> can not use the zip function to create the dataset -> dataset is 1 then it's not satisfied that batch size.

quangnguyenbn99 avatar Dec 08 '21 09:12 quangnguyenbn99

I think what you said is right. And do you have any solutions?

liuzhelz avatar Dec 11 '21 07:12 liuzhelz

He did the wrong the pre-progress. The length of the 5 components are not the same length -> can not use the zip function to create the dataset -> dataset is 1 then it's not satisfied that batch size.

Have you solved this problem?

chang-bwl avatar Dec 13 '21 03:12 chang-bwl

Hi, I'm facing the same error. Was anyone able to resolve it ?

Anushka7138 avatar Dec 13 '21 04:12 Anushka7138

The process should be done by the author. This repository uses the same method with TransformerCPI. you can find it here: https://github.com/lifanchen-simm/transformerCPI

quangnguyenbn99 avatar Dec 15 '21 02:12 quangnguyenbn99

So sad that the author has abandoned us.

duongminhhieu16 avatar Apr 08 '23 07:04 duongminhhieu16