General course chat

@jeremy do you have a python script or a way to make a dataset?
I really need a custom dataset by Jan 24th

Thanks a ton,
Quinniboi10

I could also use a search function if that exists, I am new to fastai so I am not fully aware of all its features.

Thanks,
Quinniboi10

Same problem here.
On lesson 04_Segmentation I get the error
'PosixPath' object has no attribute 'read' on line
(path/'valid.txt').read().split('\n')

Hi joa24jm I hope you are having a jolly day!

Though there are many things that could cause this error, on the same notebook, I use the command below, this works for me. Note I use a method read_text().

valid_fnames = (path/'valid.txt').read_text().split('\n')

The above command gives me the following output when I run the next cell.

valid_fnames[:5]

['0016E5_07959.png',
 '0016E5_07961.png',
 '0016E5_07963.png',
 '0016E5_07965.png',
 '0016E5_07967.png']

Hope this helps.

Cheers mrfabulous1 :smiley: :smiley: