|
@@ -57,7 +57,7 @@ public class I2IDSSMPredict {
|
|
|
// String gzPath = "/root/recommend-model/model.tar.gz";
|
|
|
// ossService.download(bucketName, gzPath, objectName);
|
|
|
String modelDir = "/root/recommend-model";
|
|
|
- hdfsService.copyFromLocalFile(gzPath2, "/dyp/dssm");
|
|
|
+ hdfsService.copyToLocalFile("/dyp/dssm/model.tar.gz", gzPath2);
|
|
|
CompressUtil.decompressGzFile(gzPath2, modelDir);
|
|
|
|
|
|
String modelFile = modelDir + "/dssm.pdmodel";
|