Color2Embed
Color2Embed copied to clipboard
how to train with custom dataset?
Hi, I want to train this code with my own dataset. How can I give my dataset as input to the network?
Dear Marziye,
If you want to use your dataset, I recommend you to edit the codes of dir https://github.com/zhaohengyuan1/Color2Embed/blob/main/data/prepare_data.py.
I edited the data path in the prepare_data.py file, but I got this error (FileNotFoundError: Found no valid file for the classes labels. Supported extensions are: .jpg, .jpeg, .png, .ppm, .bmp, .pgm, .tif, .tiff, .webp) and I don't know what the label is. Can you tell me what the label is? I have encountered this error for a long time and it cannot be solved.
You could follow the indication of error information to check the correctness of the path you gave.
I gave my own dataset as input to the prepare_data.py, but it gives this error. How should I define the class?
Make dataset of image sizes: 256
Traceback (most recent call last):
File "prepare_data.py", line 81, in
@marziyemahmoudifar did u solve the problem??
how ??
On Mon, May 22, 2023 at 8:53 AM zhaohengyuan @.***> wrote:
Yes, I did.
Asser Ossama @.***> 于2023年5月19日周五 06:24写道:
@marziyemahmoudifar https://github.com/marziyemahmoudifar did u solve the problem??
— Reply to this email directly, view it on GitHub < https://github.com/zhaohengyuan1/Color2Embed/issues/4#issuecomment-1554574180 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ALZRVO36TIJLSOG3DRDZ3VDXG5YBZANCNFSM6AAAAAAQ6O6ZI4
. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/zhaohengyuan1/Color2Embed/issues/4#issuecomment-1556576237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUHW2RVCO6XO6364KZJI3LLXHL5MJANCNFSM6AAAAAAQ6O6ZI4 . You are receiving this because you commented.Message ID: @.***>
and can u give me dataset structure or sample from it?
On Mon, May 22, 2023 at 8:55 AM Asser Ossama @.***> wrote:
how ??
On Mon, May 22, 2023 at 8:53 AM zhaohengyuan @.***> wrote:
Yes, I did.
Asser Ossama @.***> 于2023年5月19日周五 06:24写道:
@marziyemahmoudifar https://github.com/marziyemahmoudifar did u solve the problem??
— Reply to this email directly, view it on GitHub < https://github.com/zhaohengyuan1/Color2Embed/issues/4#issuecomment-1554574180 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ALZRVO36TIJLSOG3DRDZ3VDXG5YBZANCNFSM6AAAAAAQ6O6ZI4
. You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/zhaohengyuan1/Color2Embed/issues/4#issuecomment-1556576237, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUHW2RVCO6XO6364KZJI3LLXHL5MJANCNFSM6AAAAAAQ6O6ZI4 . You are receiving this because you commented.Message ID: @.***>