Unable to import helper module on Windows

Hello everyone,

I have been working on jupyter notebook on my Windows local machine. I wanted to write a code for Object Detection, for which I have to import helper module. When I am trying to run it, the helper module in turn requests import of grp module which shuts down the code and gives error: No module named ‘grp’

Please help, spent 2 days searching without much success. Only thing I know is it would be easier on Linux, but I want solution for Windows.

1 Like

Hello,
I need to use:
from helper import render_results_in_image
but don’t know which package to install with pip.

What package did you install?

I found this:
https://community.deeplearning.ai/t/how-can-i-access-the-helper-module-in-l8-object-detection/588103

I am also getting error, maybe you can try installing module named grp if you are using Linux

I have same problem here.
I wish to use the compute_module_sizes function and it is not recognized. I get this error message:

ImportError: cannot import name ‘compute_module_sizes’ from ‘helper’ (/anaconda/envs/…/lib/python3.10/site-packages/helper/init.py)

Can someone help in on this? I already tried to uninstall and install the package helper.

If you still have the problem, try to run in the Deeplearning.ai notebook:

!cat: helper.py

And then copy that code in your notebook
found the solution here: