keroro824 / HashingDeepLearning

Codebase for "SLIDE : In Defense of Smart Algorithms over Hardware Acceleration for Large-Scale Deep Learning Systems"
MIT License
1.07k stars 169 forks source link

segfaults on nullptrl access #15

Open yvdriess opened 4 years ago

yvdriess commented 4 years ago

A quick gdb points to:

https://github.com/keroro824/HashingDeepLearning/blob/b7b3bba9bab1fb0e70de7644daa9e2312f21de82/SLIDE/Layer.cpp#L453

on layerindex=0, activeValuesperlayer[layerIndex] is 0x0

stdout:


new Layer
new Node array
128 24921
new Layer
new Node array
670091 1.92284e+06
after layer
Network Initialization takes 9038.33 milliseconds
128 records, with 0 features and 0 labels
Inference takes 5610.18 milliseconds
 iter 0: 0 correct
128 records, with 71740189 features and 758811012 labels
Segmentation fault (core dumped)```
Eslam2011 commented 2 years ago

@yvdriess
Deatr Mr. yudriees,

Are work with you?