Welcome to the Linux Foundation Forum!

Solutions for the labs exercises


Hi everyone,

I'm currently taking the LFD273 training and working on the lab exercises. However, I can't seem to find the solutions on the page that was indicated at the beginning of the course.

Is there somewhere else where I can find them?


  • fcioanca
    fcioanca Posts: 1,935

    Hi @luba ,

    Can you please try again to access the SOLUTIONS file following the instructions on the Course Resources page (in the introductory chapter)?

    Thank you,

  • luba
    luba Posts: 2

    Hi Flavia, now that worked. Thank you! ;)

    When I got to Chapter 06, I noticed that there is also a GitHub repository, which was not mentioned at the beginning of the training, and there are also solutions for the labs there.

    It might be more informative if this had been presented to us from the beginning.

  • svendietz

    Hi everyone,

    I'm going through chapter 9: IMAGE CLASSIFICATION WITH TORCHVISION.

    I am following the Installation Notes, and when I run this in Colab:

    from helper_functions import get_image_from_url, show

    I get the following error:

    Saving to: ‘helper_functions.py’

    helper_functions.py 100%[===================>] 24.89K --.-KB/s in 0.001s

    2023-12-18 15:18:50 (19.9 MB/s) - ‘helper_functions.py’ saved [25492/25492]

    NameError Traceback (most recent call last)
    in ()
    1 get_ipython().system('pip install transformers evaluate split-folders')
    2 get_ipython().system('wget https://github.com/lftraining/LFD273-code/blob/main/helper_functions.py')
    ----> 3 from helper_functions import get_image_from_url, show

    /content/helper_functions.py in
    ----> 1 {"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"data","path":"data","contentType":"directory"},{"name":"images","path":"images","contentType":"directory"},{"name":"labs","path":"labs","contentType":"directory"},{"name":"notebooks","path":"notebooks","contentType":"directory"},{"name":"solutions","path":"solutions","contentType":"directory"},{"name":"README.md","path":"README.md","conten...

    NameError: name 'false' is not defined

    Any suggestions are appreciated. Thanks!


Upcoming Training