DogBreed_gluon icon indicating copy to clipboard operation
DogBreed_gluon copied to clipboard

tqdm(data) error

Open shuxp opened this issue 7 years ago • 4 comments

my code went error when running for X,y in tqdm(data) I have installed all dependence. But went error like following terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)

Have you ever met this error before?Thanks.

shuxp avatar Nov 22 '17 15:11 shuxp

你可以买两根 32G 的内存条,插到电脑上,重启,重新运行代码,也可以用 gluon 的 ImageFolderDataset。

ypwhs avatar Nov 22 '17 15:11 ypwhs

关键我用的是腾讯云的云主机。。会有影响嘛

shuxp avatar Nov 22 '17 15:11 shuxp

那你可以开个 aws p2.xlarge 或者 p3,60G 内存够用了,这个项目需要大概 40G 内存。

ypwhs avatar Nov 22 '17 15:11 ypwhs

这样啊,我的内存56G,估计硬盘不够,硬盘只有50G,我换个大点的硬盘试试,谢啦

shuxp avatar Nov 22 '17 15:11 shuxp