Spaces:
Build error
Build error
Commit ·
6642c17
1
Parent(s): 815a7c8
URL change
Browse files10 unmodified lines1112131415161711 unmodified lines2930313233343510 unmodified linesimport pickle# Cargar datasetdataset_repo = "VicGerardoPR/Traffic_Sign_Classifier"dataset_file = "train.p"dataset_path = hf_hub_download(repo_id=dataset_repo, filename=dataset_file)11 unmodified linestrain_images, train_labels = preprocess_data(train_images, train_labels)# Cargar modelomodel_repo = "VicGerardoPR/Traffic_Sign_Classifier"model_file = "traffic_sign_classifier.h5"model_path = hf_hub_download(repo_id=model_repo, filename=model_file)10 unmodified lines1112131415161711 unmodified lines2930313233343510 unmodified linesimport pickle# Cargar datasetdataset_repo = "VicGerardoPR/Traffic_sign_dataset"dataset_file = "train.p"dataset_path = hf_hub_download(repo_id=dataset_repo, filename=dataset_file)11 unmodified linestrain_images, train_labels = preprocess_data(train_images, train_labels)# Cargar modelomodel_repo = "VicGerardoPR/Traffic_sign_model"model_file = "traffic_sign_classifier.h5"model_path = hf_hub_download(repo_id=model_repo, filename=model_file)
app.py+2-2