-
Notifications
You must be signed in to change notification settings - Fork 6.8k
crash when running python ./predict-with-pretrained-model.py #212
Comments
The reason is your card didn't provide enough GPU memory, as the default batch size for numpy is 128. In this case, you can run the example in this way: Change block 2 from:
to
|
BTW, I will make a change to original load function to make change batch size easier. |
antinucleon,
python ./predict-with-pretrained-model.py Thanks, |
Again, the default batch size is 128, before I push the fix, maybe you can try to set |
It works and thanks, Kaishi |
i came with similar problem when running
please give possible solutions , thanks! |
I have Nvidia 960 graphic card with 4 GB memory. When I ran python ./predict-with-pretrained-model.py, I got the following error message. Any iiea why this happens?
[18:28:42] ./dmlc-core/include/dmlc/logging.h:208: [18:28:42] src/operator/./convolution-inl.h:251: Check failed: (param_.workspace) >= (scol.Size() + sdst.Size())
Minimum workspace size: 169394176
Given: 134217728
[18:28:42] ./dmlc-core/include/dmlc/logging.h:208: [18:28:42] src/engine/./threaded_engine.h:290: [18:28:42] src/operator/./convolution-inl.h:251: Check failed: (param_.workspace) >= (scol.Size() + sdst.Size())
Minimum workspace size: 169394176
Given: 134217728
terminate called after throwing an instance of 'dmlc::Error'
what(): [18:28:42] src/engine/./threaded_engine.h:290: [18:28:42] src/operator/./convolution-inl.h:251: Check failed: (param_.workspace) >= (scol.Size() + sdst.Size())
Minimum workspace size: 169394176
Given: 134217728
Aborted (core dumped)
Thanks,
Kaishi
The text was updated successfully, but these errors were encountered: