djl-demo
djl-demo copied to clipboard
MXNet engine call failed: MXNetError: Check failed: dshp.ndim() == 3U (2 vs. 3) : Input data should be 3D in batch-num_filter-x
Hi every one. I am learning DJL(Deep java library) and I have seen Malicious URL Detector post and I'm going to try it locally, but when I run the code I get error.
I have tried to remove FEATURE_LENGTH
but got another error:
I want to solve the problem but I don't know how to do it(
And I have some questions about source code of Malicious URL Detector line 71 and SequentialBlocks
.
- Why we initialize 3D shape? in csv data only 2 column(first feature and second is label)
- Why we need a lot of blocks? What does it mean acctually? source code