DLI - Course - NameError: name '<<<<FIXME>>>>' is not defined - Disaster Risk Monitoring Using Satellite Imagery - Flood Detection


Congratulations nVIDIA is an excellent course.

but I’m having a hard time understanding the execution of this step:

In Notebook assessment.ipynb
Instructions :
3.1 Execute the below cell to load dependencies, set parameters, and instantiate a Triton Client to communicate with the Triton Inference Server at triton:8000 .
3.2 Modify the <FIXME> s only and execute the cell below to define the preprocessing_image function.
3.3 Execute the cell below to instantiate a placeholder for our input data and output.
3.4 Modify the <FIXME> s only to iteratively pre-process input images, send inference requests, and post-process the inference results for the entire dataset. We will save the mask images.
3.5 Execute the cell below to preview a sample.

NameError                                 Traceback (most recent call last)
Cell In [15], line 14
     10 image=Image.open(os.path.join(os.getenv('LOCAL_DATA_DIR'), 'images', 'all_images', image_path))
     12 # pre-process image
     13 #image_ary=<<<<FIXME>>>>(image)
---> 14 image_ary='cWluam-------------------------------censored--------------------------------------------------WQ0'(image)
     15 # send image_ary for inference
     16 inference_input.set_data_from_numpy(image_ary)

NameError: name 'cWluam-----------------------------------censored------------------------------------WQ0' is not defined

type or paste code here

Where am I going wrong?

Best regards