Sony's Developer World forum

    • Home
    • Forum guidelines

    load model file failed

    Spresense
    2
    8
    298
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AR_22 0 2 0 0 last edited by

      sp_error1.png

      K 1 Reply Last reply Reply Quote
      • K
        KamilTomaszewski DeveloperWorld @AR_22 0 2 0 0 last edited by

        Hi @ar22

        It looks like there is not enough RAM to load your model. What size is your model file?

        Best Regards,
        Kamil Tomaszewski

        A 1 Reply Last reply Reply Quote
        • A
          AR_22 0 2 0 0 @KamilTomaszewski last edited by

          Hi @kamiltomaszewski
          Model file size: 84.3 kb

          K 1 Reply Last reply Reply Quote
          • K
            KamilTomaszewski DeveloperWorld @AR_22 0 2 0 0 last edited by

            Hi @ar22,

            Can you run in nsh> console: nsh> ls /mnt/sd0 and send me the output?

            Best Regards,
            Kamil Tomaszewski

            A 1 Reply Last reply Reply Quote
            • A
              AR_22 0 2 0 0 @KamilTomaszewski last edited by

              Hi @kamiltomaszewski,

              nsh> ls /mnt/sd0
              nsh: ls: stat failed: 2
              
              
              K 1 Reply Last reply Reply Quote
              • K
                KamilTomaszewski DeveloperWorld @AR_22 0 2 0 0 last edited by

                Hi @ar22

                It looks like Spresense cannot see your SD card. Have you configured the SDK like this:
                $ ./tools/config.py examples/tflmrt_lenet?

                Best Regards,
                Kamil Tomaszewski

                A 1 Reply Last reply Reply Quote
                • A
                  AR_22 0 2 0 0 @KamilTomaszewski last edited by

                  Hi @kamiltomaszewski
                  Yes, I have

                  K 1 Reply Last reply Reply Quote
                  • K
                    KamilTomaszewski DeveloperWorld @AR_22 0 2 0 0 last edited by

                    Hi @ar22,

                    Please be aware of these limitations:

                    • SD and SDHC cards are supported, but SDXC cards is not supported.
                    • Formats of FAT12, FAT16 and FAT32 are supported, exFAT is not supported.
                    • Capacity of up to 32 GB is supported.

                    Best Regards,
                    Kamil Tomaszewski

                    1 Reply Last reply Reply Quote
                    • First post
                      Last post
                    Developer World
                    Copyright © 2021 Sony Group Corporation. All rights reserved.
                    • Contact us
                    • Legal