|
@@ -58,6 +58,7 @@ public class XGBoostService {
|
|
|
// 保存模型
|
|
|
String modelPath = "/root/recommend-model/modeltrain";
|
|
|
model.write().overwrite().save("file://" + modelPath);
|
|
|
+
|
|
|
String gzPath = "/root/recommend-model/model.tar.gz";
|
|
|
CompressUtil.compressDirectoryToGzip(modelPath, gzPath);
|
|
|
String bucketName = "art-test-video";
|