Tryng to train on custome dataset but not working "--caption_column` value 'text' not found"
github.comhuggingface/diffusers/blob/main/examples/controlnet/train_controlnet.py#!/usr/bin/env python
# coding=utf-8
# Copyright 2023 The HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and

import argparse
import logging
import math
import os
import randomThis file has been truncated.show originali try formatting the the dataset to how the example was downloading{“text”: “pale golden rod circle with old lace background”, “image”: “images/0.png”, “conditioning_image”: “conditioning_images/0.png”}putting the images in the same directory iun that format but it simpyl does not workI  but keep getting this errorValueError:--caption_columnvalue ‘text’ not found in dataset columns. Dataset columns are: image, labelim not sure what else i am suppose to do?
2023-07-02T15:12:23Z
You need to create a dataset script to train on a custom dataset, but based on the error, you seem to be using theimagefolderloader (doesn’t support datasets with more than one image column) to build the dataset. Let us know if you need help writing the script.
2024-04-23T00:49:22Z
I have encountered the same problem as describedhere, so how should I solve this problem?