Libdarknet2.0.so source code

I tried the NNVM DarkNet frontend and got the following error.

$ python -m nose -v nnvm/tests/python/frontend/darknet/test_forward.py:test_forward_crnn
test CRNN layer ... Segmentation fault (core dumped)

I’d like to look into this problem more deeply, but where can I get the source code of libdarknet2.0.so, which is downloaded from https://github.com/siju-samuel/darknet/blob/master/lib/libdarknet2.0.so in the test script?

I checked

but it seems that both trees don’t support many layers (e.g. CRNN) in resize_network(), which looks required to pass the above test.

@siju-samuel @PariksheetPinjari909, any comments?

Thanks,

It can be downloaded from this branch.

The issue is in resize network of darknet code. need to add some code for resize_crnn_layer.

1 Like

is it possible to try to stick more often to the original upstream darknet? even that might mean we have less test cases necessary

1 Like

The changes in original source is needed for testcases only. Will find some other way to verify the testcases. I will update it based on the latest code and upstream soon.

1 Like

Thank siju-samuel and tqchen very much. It works :slight_smile: