Lesson 2: further discussion ✅

(Paul Baclace) #147

It would be nice if there was an option to remove the actual image; sometimes one wants to use the image collection for another purpose without having to use the same interface that requires cleaned.csv to tag along.

0 Likes

#148

Bump! Yea I’m having this issue too… ImageCleaner just hangs, if I remove the path argument I get the same error. Did you find any way around this?

0 Likes

#149

Hi there! I’m testing out with my own data and ran into error while trying to put predict a single image.

Seems like learn.predict is returning the correct result but pred_class is displayed as a memory address rather than a label, any idea why?

1 Like

#150

Nvm I figured it out, just needed to call print(pred_class)

1 Like

#151

Hi I am trying to train a classifier for medical images but learn.fit_one_cycle(4) does not seem to be doing any training.

0 Likes

#152

I found someone posted saying Colab didn’t support widget ImageCleaner ( ImageCleaner ). There’s an alternative which is little tedious, but it does solve the problem. I used this method and able to get the dataset cleaned and proceed the subsequent steps. Here’s the alternative solution I found in other post : ImageCleaner missing argument in lesson 2 download notebook

1 Like

#153

We’d probably need to have a look at how you created the databunch to guess what’s going on

Edit: by the look of it, it seems ALL your images are labeled as “Key_slice_examples”. So the model is always predicting that one single label, with 100% accuracy, and no loss

1 Like

#154

Did you manage to figure this out?

0 Likes

(Varun Verma) #155

So I was creating my own classifier on distinguishing between spongebob and spiderman and

learn.lr_find()

does not output and anything and the graph is empty too. I am doing on this on a kaggle kernel if that provides any helpful info. Anyone encountered a similar problem?

1 Like

(Azwar Khalid) #156

@joaoeira The method declaration is wrong, remove the last parameter Path as it is not required. it should be:
ImageCleaner(ds, idxs)

Type help(ImageCleaner) to see the details

0 Likes

(Azwar Khalid) #157

Also I realised it was an issue with a version of ImageCleaner. The older version did not have the path parameter the newer version has path parameter. So you will need to upgrade fastAI. Do ??ImageCleaner to see which version you have

0 Likes

(Butch Landingin ) #158

Hi all,
I created a Github project template for deploying simple image classifiers on Render.com
based on render examples as described in the deployment docs.

3 Likes

#159

Hi there. Unfortunately, I did not figure this out. I could not reproduce the particular way that the library calculates its derivatives.

0 Likes

#160

Having the same issue with tabular data. Repeatedly re-running the same code after having restarted sometimes gets the plot to show up. Not sure what’s going on.

0 Likes

(naveen kumar) #161

hi everyone i am trying this for a while please check this out …
and it is giving me file not found error…


initially my data is present in the d directory so what i am doing is … in this way …
the path.ls()
gives me the correct directory structure only…
but…now check… this …

it is showing me the file not found error and the path is now changed why i am fighting with this problem from a couple of hours i tried all possible ways like i hard coded the path and set it to the function and
i executed the cell download_image the scroll bar started but finally the folder created but there are no photos… in it just empty folder
every one can see that there is a folder created … but it is empty please help me… because i tried all the possible ways of hardcoding so please let me know…

0 Likes

(Apoorv) #162

Hi, the ImageCleaner is hanging. This is the line I’m executing ImageCleaner(ds, idxs, path).
I’m using colab. Let me know what I’m doing wrong ?

0 Likes

(Катя Шиловская) #163

Hi! Is urls_black.txt file in bears folder?

0 Likes

(Butch Landingin ) #164

Hi @apoorv16,
ImageCleaner doesn’t work on colab unfortunately.
See ImageCleaner doesn't render for possible workarounds

HTH.

Butch

0 Likes

(Apoorv) #165

Thanks for the info @butchland , will check them out.

0 Likes

(Ankit Kumar) #166

Can anyone tell me what am I doing wrong here?

What do I need to give as a positional argument to the ImageCleaner function as shown in the screenshot?

0 Likes