Answered
Hi
I Have A Most Probably A Beginer Question Abour Loading The Data In Pycharm And Later On In Google Colab From An Dataset From Clearml.
I Used From Page:
Hi
I have a most probably a beginer question abour loading the data in pycharm and later on in google colab from an Dataset from clearML.
I used from page: None and from the youtube video the following example:
# Read the data
data_path = Dataset.get(dataset_name="Fashion MNIST", alias="Fashion MNIST").get_local_copy()
fashion_mnist_test = pd.read_csv(f"{data_path}/fashion-mnist_test.csv")
X_test = np.array(fashion_mnist_test.iloc[:,1:])
y_test = np.array(fashion_mnist_test.iloc[:,0])
dtest = xgb.DMatrix(X_test, label=y_test)
However I need for a yolov8 (Object detection with arround 20k jpgs and .txt files) the data.yaml file:
model = YOLO("yolov8n.pt")
data = r"C:\Users\junke\.clearml\cache\storage_manager\datasets\ds_1019154914df4346a316c6e63a7237c9\data.yaml"
#data_path = Dataset.get(dataset_name="002_Datenset_MASAM_for_fintuning", alias="002_Datenset_MASAM_for_fintuning").get_local_copy()
def main():
results = model.train(data=data,
epochs=80,
at the moment I found not a way how I could allocate the data.yaml file in the Dateset.
Thank you for your support and help:-)
Show more results
replies
28K Views
31
Answers
10 months ago
10 months ago
Tags