HGNN icon indicating copy to clipboard operation
HGNN copied to clipboard

ValueError: Cannot create a tensor proto whose content is larger than 2GB.

Open CJJ2923 opened this issue 3 years ago • 4 comments

Hello, when training with the DailyDialog dataset, the problem is:ValueError: Cannot create a tensor proto whose content is larger than 2GB. Through analysis, it is found that the problem is in this line of code: A = tf.convert_to_tensor(value=A, dtype=tf.float32).

I want to ask how you handled this line of code when you were training at that time? I hope to get your reply. thank you!

CJJ2923 avatar Oct 18 '22 09:10 CJJ2923

Hi, As far as I know, "...2GB" is a hard limitation and you may reduce the size of A to less than 2GB. In my memory, I don't have this issue in this experiment. Is there some difference when producing A?

XL2248 avatar Oct 18 '22 14:10 XL2248

Firstly, thank you for your reply. The generation of A is the same, but because of the problem of data volume, the dimensions of the vectors are different. If the data set is larger, this problem will occur. Can you conveniently share the DailyDialog dataset you used in the experiment? I want to see if there is a problem with the dataset I downloaded, and this problem occurs after the dataset is processed.

CJJ2923 avatar Oct 19 '22 04:10 CJJ2923

Hi, please leave me an email. I will find ours and share it with you.

XL2248 avatar Oct 20 '22 01:10 XL2248

Email:[email protected]. Thank you!

CJJ2923 avatar Oct 20 '22 02:10 CJJ2923