import autokeras as ak
clf = ak.ImageClassifier()
clf.fit(x_train, y_train)
results = clf.predict(x_test)
[hidecontent type="logged" desc="隐藏内容:登录后可查看"]
要安装软件包,请pip
按如下方式使用安装:
pip3 install autokeras
pip install git+https://github.com/keras-team/keras-tuner.git
pip install autokeras
python3
命令执行您的 python 程序,请使用以下命令安装 AutoKeras。
python3 -m pip install git+https://github.com/keras-team/keras-tuner.git
python3 -m pip install autokeras
如您想详细了解这个项目,请按照安装指南了解更多详细信息。
注意:目前,AutoKeras 仅与Python >= 3.7和TensorFlow >= 2.8.0兼容。
[/hidecontent]