HashingDeepLearning icon indicating copy to clipboard operation
HashingDeepLearning copied to clipboard

segfaults on nullptrl access

Open yvdriess opened this issue 5 years ago • 1 comments

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)```

yvdriess avatar Mar 06 '20 14:03 yvdriess

@yvdriess
Deatr Mr. yudriees,

Are work with you?

Eslam2011 avatar May 05 '22 08:05 Eslam2011