DlibDotNet icon indicating copy to clipboard operation
DlibDotNet copied to clipboard

The entry function 'LossMmod_det_bnet_type_create' is not in DlibDotNetNativeDnn.dll ?

Open jeffreyvivian opened this issue 4 years ago • 1 comments

There are several functions that are not found in 'DlibDotNetNativeDnn.dll': LossMmod_det_bnet_type_create LossMmod_det_anet_type_create LossMulticlassLogPerPixel_seg_bnet_type_create LossMulticlassLogPerPixel_seg_anet_type_create

code: static NativeMethods() { WindowsLibraryLoader.LoadLibraries(new[] { $"{NativeLibrary}", $"{NativeDnnLibrary}" });

        foreach (var builder in new[] {
            LossMetric_anet_type_create(),
            LossMetric_metric_net_type_create()
        })
            LossMetricRegistry_add(builder);
        foreach (var builder in new[] {
            LossMmod_net_type_create(),
            LossMmod_net_type_1_create(),
            LossMmod_net_type_2_create(),
            LossMmod_net_type_3_create(),
            LossMmod_det_bnet_type_create(),
            LossMmod_det_anet_type_create()
        })
            LossMmodRegistry_add(builder);
        foreach (var builder in new[] {
            LossMulticlassLog_net_type_create(),
             LossMulticlassLog_net_1000_type_create(),
             LossMulticlassLog_anet_1000_type_create(),
             LossMulticlassLog_net_type2_create()
        })
            LossMulticlassLogRegistry_add(builder);
        foreach (var builder in new[] {
            LossMulticlassLogPerPixel_net_type_create(),
            LossMulticlassLogPerPixel_anet_type_create(),
            LossMulticlassLogPerPixel_ubnet_type_create(),
            LossMulticlassLogPerPixel_uanet_type_create(),
            LossMulticlassLogPerPixel_seg_bnet_type_create(),
            LossMulticlassLogPerPixel_seg_anet_type_create()
        })
            LossMulticlassLogPerPixelRegistry_add(builder);
    }

What should I do? Thanks for this mistake.

jeffreyvivian avatar Jan 21 '21 07:01 jeffreyvivian

@jeffreyvivian

The following file could help you. https://github.com/takuya-takeuchi/DlibDotNet/blob/master/src/DlibDotNet.Native.Dnn/dlib/dnn/loss/multiclass_log/template.h

takuya-takeuchi avatar Jan 21 '21 12:01 takuya-takeuchi