Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Dogs Vs Cats Clean Datasets and Corruprtion
Post: RE: Dogs Vs Cats Clean Datasets and Corruprtion

Thanks. Will give it a go.
hatflyer General Coding Help 4 559 Nov-13-2023, 08:08 PM
    Thread: Dogs Vs Cats Clean Datasets and Corruprtion
Post: RE: Dogs Vs Cats Clean Datasets and Corruprtion

(Nov-13-2023, 03:54 PM)Larz60+ Wrote: Try google Yes, of course I tried that. First thing I did. Can't find various other options than the 1 I found, besides a light version with too few images. An...
hatflyer General Coding Help 4 559 Nov-13-2023, 04:19 PM
    Thread: Dogs Vs Cats Clean Datasets and Corruprtion
Post: Dogs Vs Cats Clean Datasets and Corruprtion

I seem to have an issue with the data set for the dogs vs cats scenario. Does anyone know where I can download a data set other than this 1? kagglecatsanddogs_5340.zip, the 1 on the Microsoft page? ...
hatflyer General Coding Help 4 559 Nov-13-2023, 03:52 AM
    Thread: model.fit and model.predict errors
Post: RE: model.fit and model.predict errors

Looks like the data I have was corrupted. Now it makes it to the end, but the conclusion is not correct, even tho there is 97% accuracy. Is there something in my code that can explain this? Thanks.
hatflyer General Coding Help 6 1,426 Nov-10-2023, 01:39 AM
    Thread: model.fit and model.predict errors
Post: RE: model.fit and model.predict errors

Thanks. Any thought on the other issue, why it crashes on arbitrary epochs? These are the relevant lines of code it seems: traindata = trainRescale.flow_from_directory('dog-vs-cat-classification/tra...
hatflyer General Coding Help 6 1,426 Nov-08-2023, 05:23 PM
    Thread: model.fit and model.predict errors
Post: RE: model.fit and model.predict errors

Sorry, I think I made a mistake posting. Hopefully the info needed is there. Is how I used Resize an issue?
hatflyer General Coding Help 6 1,426 Nov-08-2023, 12:13 AM
    Thread: model.fit and model.predict errors
Post: RE: model.fit and model.predict errors

Here is the first 1: Error: UserWarning: You are saving your model as an HDF5 file via `model.save()`. This file format is considered legacy. We recommend using instead the native Keras format, e.g....
hatflyer General Coding Help 6 1,426 Nov-07-2023, 09:00 PM
    Thread: model.fit and model.predict errors
Post: model.fit and model.predict errors

Having 2 issues. First, when I have test images not 150 x 150, it crashes, even though I have the line: img.resize((150,150)) before the line that causes the crash, "result = model.predict(img)" Err...
hatflyer General Coding Help 6 1,426 Nov-06-2023, 07:06 PM
    Thread: error "cannot identify image file" part way through running
Post: error "cannot identify image file" part way throug...

I'm getting a very long list of errors part way when running the code below. The images come from: dog-vs-cat-classification/train/dogs , and the cat ones in the same folder as the dogs. Each hols 125...
hatflyer General Coding Help 0 717 Nov-02-2023, 11:45 PM
    Thread: Can't Find Path
Post: RE: Can't Find Path

Thanks much!
hatflyer General Coding Help 8 1,118 Oct-29-2023, 10:51 PM
    Thread: Can't Find Path
Post: RE: Can't Find Path

(Oct-29-2023, 06:05 PM)hatflyer Wrote: I get the following error {the last line shown} regarding the path. "The system cannot find the path specified: './Data/train' " The location of the train fol...
hatflyer General Coding Help 8 1,118 Oct-29-2023, 08:42 PM
    Thread: Can't Find Path
Post: RE: Can't Find Path

Yes, I tried the / and still same error.
hatflyer General Coding Help 8 1,118 Oct-29-2023, 08:37 PM
    Thread: Can't Find Path
Post: Can't Find Path

I get the following error {the last line shown} regarding the path. "The system cannot find the path specified: './Data/train' " The location of the train folder is correct. Do I have the format wron...
hatflyer General Coding Help 8 1,118 Oct-29-2023, 06:05 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020