diff --git a/.gitignore b/.gitignore index 8c4450181d82116620d880c93789dee9dcda9d73..8e4725d6ac91a4680c78ebf0e03a867521ba93d2 100644 --- a/.gitignore +++ b/.gitignore @@ -93,3 +93,6 @@ metal/paddle-mobile/paddle-mobile/CPU/libpaddle-mobile.a *.xcuserdatad/ */xcuserdata/ /venv/ + +metal/paddle-mobile-demo/paddle-mobile-demo/images +metal/paddle-mobile-demo/paddle-mobile-demo/models diff --git a/metal/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.pbxproj b/metal/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.pbxproj index d6114880efcaf528bd26fcda11e08ec68d943575..e5ee139c38efb6e2236ef05827cdb4ea3beb053e 100644 --- a/metal/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.pbxproj +++ b/metal/paddle-mobile-demo/paddle-mobile-demo.xcodeproj/project.pbxproj @@ -8,6 +8,232 @@ /* Begin PBXBuildFile section */ 30D0ED21F392CFA3885B1002 /* Pods_paddle_mobile_demo.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18896810981724F8A0FED62A /* Pods_paddle_mobile_demo.framework */; }; + C2A7541F219EF62800DF4209 /* params in Resources */ = {isa = PBXBuildFile; fileRef = C2A75339219EF62700DF4209 /* params */; }; + C2A75420219EF62800DF4209 /* model in Resources */ = {isa = PBXBuildFile; fileRef = C2A7533A219EF62700DF4209 /* model */; }; + C2A75421219EF62800DF4209 /* combined_mobilenet_params in Resources */ = {isa = PBXBuildFile; fileRef = C2A7533D219EF62700DF4209 /* combined_mobilenet_params */; }; + C2A75422219EF62800DF4209 /* combined_mobilenet_model in Resources */ = {isa = PBXBuildFile; fileRef = C2A7533E219EF62700DF4209 /* combined_mobilenet_model */; }; + C2A75423219EF62800DF4209 /* yolo_params in Resources */ = {isa = PBXBuildFile; fileRef = C2A75340219EF62700DF4209 /* yolo_params */; }; + C2A75424219EF62800DF4209 /* yolo_model in Resources */ = {isa = PBXBuildFile; fileRef = C2A75341219EF62700DF4209 /* yolo_model */; }; + C2A75425219EF62800DF4209 /* genet_params in Resources */ = {isa = PBXBuildFile; fileRef = C2A75343219EF62700DF4209 /* genet_params */; }; + C2A75426219EF62800DF4209 /* genet_model in Resources */ = {isa = PBXBuildFile; fileRef = C2A75344219EF62700DF4209 /* genet_model */; }; + C2A75427219EF62800DF4209 /* superresoltion_params in Resources */ = {isa = PBXBuildFile; fileRef = C2A75346219EF62700DF4209 /* superresoltion_params */; }; + C2A75428219EF62800DF4209 /* superresoltion_model in Resources */ = {isa = PBXBuildFile; fileRef = C2A75347219EF62700DF4209 /* superresoltion_model */; }; + C2A75429219EF62800DF4209 /* ssd_hand_params in Resources */ = {isa = PBXBuildFile; fileRef = C2A75349219EF62700DF4209 /* ssd_hand_params */; }; + C2A7542A219EF62800DF4209 /* ssd_hand_model in Resources */ = {isa = PBXBuildFile; fileRef = C2A7534A219EF62700DF4209 /* ssd_hand_model */; }; + C2A7542B219EF62800DF4209 /* mobilenet in Resources */ = {isa = PBXBuildFile; fileRef = C2A7534C219EF62700DF4209 /* mobilenet */; }; + C2A7542C219EF62800DF4209 /* params in Resources */ = {isa = PBXBuildFile; fileRef = C2A7534D219EF62700DF4209 /* params */; }; + C2A7542D219EF62800DF4209 /* model in Resources */ = {isa = PBXBuildFile; fileRef = C2A7534E219EF62700DF4209 /* model */; }; + C2A7542E219EF62800DF4209 /* yolo in Resources */ = {isa = PBXBuildFile; fileRef = C2A7534F219EF62700DF4209 /* yolo */; }; + C2A7542F219EF62800DF4209 /* params in Resources */ = {isa = PBXBuildFile; fileRef = C2A75351219EF62700DF4209 /* params */; }; + C2A75430219EF62800DF4209 /* model in Resources */ = {isa = PBXBuildFile; fileRef = C2A75352219EF62700DF4209 /* model */; }; + C2A75431219EF62800DF4209 /* batch_norm_7.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75354219EF62700DF4209 /* batch_norm_7.w_0 */; }; + C2A75432219EF62800DF4209 /* batch_norm_26.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75355219EF62700DF4209 /* batch_norm_26.b_0 */; }; + C2A75433219EF62800DF4209 /* batch_norm_32.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75356219EF62700DF4209 /* batch_norm_32.b_0 */; }; + C2A75434219EF62800DF4209 /* conv2d_16.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75357219EF62700DF4209 /* conv2d_16.w_0 */; }; + C2A75435219EF62800DF4209 /* batch_norm_15.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75358219EF62700DF4209 /* batch_norm_15.w_2 */; }; + C2A75436219EF62800DF4209 /* batch_norm_29.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75359219EF62700DF4209 /* batch_norm_29.w_2 */; }; + C2A75437219EF62800DF4209 /* batch_norm_4.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7535A219EF62700DF4209 /* batch_norm_4.w_1 */; }; + C2A75438219EF62800DF4209 /* batch_norm_5.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7535B219EF62700DF4209 /* batch_norm_5.w_1 */; }; + C2A75439219EF62800DF4209 /* batch_norm_28.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7535C219EF62700DF4209 /* batch_norm_28.w_2 */; }; + C2A7543A219EF62800DF4209 /* batch_norm_14.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7535D219EF62700DF4209 /* batch_norm_14.w_2 */; }; + C2A7543B219EF62800DF4209 /* conv2d_17.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7535E219EF62700DF4209 /* conv2d_17.w_0 */; }; + C2A7543C219EF62800DF4209 /* batch_norm_33.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7535F219EF62700DF4209 /* batch_norm_33.b_0 */; }; + C2A7543D219EF62800DF4209 /* batch_norm_27.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75360219EF62700DF4209 /* batch_norm_27.b_0 */; }; + C2A7543E219EF62800DF4209 /* batch_norm_6.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75361219EF62700DF4209 /* batch_norm_6.w_0 */; }; + C2A7543F219EF62800DF4209 /* batch_norm_4.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75362219EF62700DF4209 /* batch_norm_4.w_0 */; }; + C2A75440219EF62800DF4209 /* depthwise_conv2d_9.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75363219EF62700DF4209 /* depthwise_conv2d_9.w_0 */; }; + C2A75441219EF62800DF4209 /* batch_norm_31.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75364219EF62700DF4209 /* batch_norm_31.b_0 */; }; + C2A75442219EF62800DF4209 /* conv2d_29.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75365219EF62700DF4209 /* conv2d_29.w_0 */; }; + C2A75443219EF62800DF4209 /* batch_norm_25.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75366219EF62700DF4209 /* batch_norm_25.b_0 */; }; + C2A75444219EF62800DF4209 /* conv2d_15.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75367219EF62700DF4209 /* conv2d_15.w_0 */; }; + C2A75445219EF62800DF4209 /* batch_norm_19.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75368219EF62700DF4209 /* batch_norm_19.b_0 */; }; + C2A75446219EF62800DF4209 /* batch_norm_16.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75369219EF62700DF4209 /* batch_norm_16.w_2 */; }; + C2A75447219EF62800DF4209 /* __model__ in Resources */ = {isa = PBXBuildFile; fileRef = C2A7536A219EF62700DF4209 /* __model__ */; }; + C2A75448219EF62800DF4209 /* batch_norm_7.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7536B219EF62700DF4209 /* batch_norm_7.w_1 */; }; + C2A75449219EF62800DF4209 /* batch_norm_6.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7536C219EF62700DF4209 /* batch_norm_6.w_1 */; }; + C2A7544A219EF62800DF4209 /* batch_norm_17.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7536D219EF62700DF4209 /* batch_norm_17.w_2 */; }; + C2A7544B219EF62800DF4209 /* conv2d_14.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7536E219EF62700DF4209 /* conv2d_14.w_0 */; }; + C2A7544C219EF62800DF4209 /* batch_norm_18.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7536F219EF62700DF4209 /* batch_norm_18.b_0 */; }; + C2A7544D219EF62800DF4209 /* conv2d_28.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75370219EF62700DF4209 /* conv2d_28.w_0 */; }; + C2A7544E219EF62800DF4209 /* batch_norm_24.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75371219EF62700DF4209 /* batch_norm_24.b_0 */; }; + C2A7544F219EF62800DF4209 /* batch_norm_30.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75372219EF62700DF4209 /* batch_norm_30.b_0 */; }; + C2A75450219EF62800DF4209 /* depthwise_conv2d_8.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75373219EF62700DF4209 /* depthwise_conv2d_8.w_0 */; }; + C2A75451219EF62800DF4209 /* batch_norm_5.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75374219EF62700DF4209 /* batch_norm_5.w_0 */; }; + C2A75452219EF62800DF4209 /* batch_norm_1.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75375219EF62700DF4209 /* batch_norm_1.w_0 */; }; + C2A75453219EF62800DF4209 /* conv2d_10.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75376219EF62700DF4209 /* conv2d_10.w_0 */; }; + C2A75454219EF62800DF4209 /* batch_norm_34.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75377219EF62700DF4209 /* batch_norm_34.b_0 */; }; + C2A75455219EF62800DF4209 /* batch_norm_20.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75378219EF62700DF4209 /* batch_norm_20.b_0 */; }; + C2A75456219EF62800DF4209 /* batch_norm_13.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75379219EF62700DF4209 /* batch_norm_13.w_2 */; }; + C2A75457219EF62800DF4209 /* batch_norm_2.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7537A219EF62700DF4209 /* batch_norm_2.w_1 */; }; + C2A75458219EF62800DF4209 /* batch_norm_3.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7537B219EF62700DF4209 /* batch_norm_3.w_1 */; }; + C2A75459219EF62800DF4209 /* batch_norm_12.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7537C219EF62700DF4209 /* batch_norm_12.w_2 */; }; + C2A7545A219EF62800DF4209 /* batch_norm_21.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7537D219EF62700DF4209 /* batch_norm_21.b_0 */; }; + C2A7545B219EF62800DF4209 /* conv2d_11.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7537E219EF62700DF4209 /* conv2d_11.w_0 */; }; + C2A7545C219EF62800DF4209 /* batch_norm_0.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7537F219EF62700DF4209 /* batch_norm_0.w_0 */; }; + C2A7545D219EF62800DF4209 /* batch_norm_2.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75380219EF62700DF4209 /* batch_norm_2.w_0 */; }; + C2A7545E219EF62800DF4209 /* conv2d_13.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75381219EF62700DF4209 /* conv2d_13.w_0 */; }; + C2A7545F219EF62800DF4209 /* batch_norm_23.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75382219EF62700DF4209 /* batch_norm_23.b_0 */; }; + C2A75460219EF62800DF4209 /* batch_norm_10.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75383219EF62700DF4209 /* batch_norm_10.w_2 */; }; + C2A75461219EF62800DF4209 /* batch_norm_1.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75384219EF62700DF4209 /* batch_norm_1.w_1 */; }; + C2A75462219EF62800DF4209 /* batch_norm_0.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75385219EF62700DF4209 /* batch_norm_0.w_1 */; }; + C2A75463219EF62800DF4209 /* batch_norm_11.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75386219EF62700DF4209 /* batch_norm_11.w_2 */; }; + C2A75464219EF62800DF4209 /* batch_norm_22.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75387219EF62700DF4209 /* batch_norm_22.b_0 */; }; + C2A75465219EF62800DF4209 /* conv2d_12.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75388219EF62700DF4209 /* conv2d_12.w_0 */; }; + C2A75466219EF62800DF4209 /* batch_norm_3.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75389219EF62700DF4209 /* batch_norm_3.w_0 */; }; + C2A75467219EF62800DF4209 /* batch_norm_21.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7538A219EF62700DF4209 /* batch_norm_21.w_1 */; }; + C2A75468219EF62800DF4209 /* batch_norm_3.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7538B219EF62700DF4209 /* batch_norm_3.b_0 */; }; + C2A75469219EF62800DF4209 /* batch_norm_22.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7538C219EF62700DF4209 /* batch_norm_22.w_0 */; }; + C2A7546A219EF62800DF4209 /* batch_norm_23.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7538D219EF62700DF4209 /* batch_norm_23.w_0 */; }; + C2A7546B219EF62800DF4209 /* batch_norm_2.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7538E219EF62700DF4209 /* batch_norm_2.b_0 */; }; + C2A7546C219EF62800DF4209 /* batch_norm_20.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7538F219EF62700DF4209 /* batch_norm_20.w_1 */; }; + C2A7546D219EF62800DF4209 /* batch_norm_34.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75390219EF62700DF4209 /* batch_norm_34.w_1 */; }; + C2A7546E219EF62800DF4209 /* batch_norm_22.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75391219EF62700DF4209 /* batch_norm_22.w_1 */; }; + C2A7546F219EF62800DF4209 /* batch_norm_0.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75392219EF62700DF4209 /* batch_norm_0.b_0 */; }; + C2A75470219EF62800DF4209 /* batch_norm_21.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75393219EF62700DF4209 /* batch_norm_21.w_0 */; }; + C2A75471219EF62800DF4209 /* batch_norm_20.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75394219EF62700DF4209 /* batch_norm_20.w_0 */; }; + C2A75472219EF62800DF4209 /* batch_norm_34.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75395219EF62700DF4209 /* batch_norm_34.w_0 */; }; + C2A75473219EF62800DF4209 /* batch_norm_1.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75396219EF62700DF4209 /* batch_norm_1.b_0 */; }; + C2A75474219EF62800DF4209 /* batch_norm_23.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75397219EF62700DF4209 /* batch_norm_23.w_1 */; }; + C2A75475219EF62800DF4209 /* batch_norm_27.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75398219EF62700DF4209 /* batch_norm_27.w_1 */; }; + C2A75476219EF62800DF4209 /* batch_norm_33.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75399219EF62700DF4209 /* batch_norm_33.w_1 */; }; + C2A75477219EF62800DF4209 /* batch_norm_5.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7539A219EF62700DF4209 /* batch_norm_5.b_0 */; }; + C2A75478219EF62800DF4209 /* batch_norm_18.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7539B219EF62700DF4209 /* batch_norm_18.w_0 */; }; + C2A75479219EF62800DF4209 /* batch_norm_30.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7539C219EF62700DF4209 /* batch_norm_30.w_0 */; }; + C2A7547A219EF62800DF4209 /* batch_norm_24.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7539D219EF62700DF4209 /* batch_norm_24.w_0 */; }; + C2A7547B219EF62800DF4209 /* conv2d_28.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7539E219EF62700DF4209 /* conv2d_28.b_0 */; }; + C2A7547C219EF62800DF4209 /* batch_norm_25.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7539F219EF62700DF4209 /* batch_norm_25.w_0 */; }; + C2A7547D219EF62800DF4209 /* conv2d_29.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753A0219EF62700DF4209 /* conv2d_29.b_0 */; }; + C2A7547E219EF62800DF4209 /* batch_norm_31.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753A1219EF62700DF4209 /* batch_norm_31.w_0 */; }; + C2A7547F219EF62800DF4209 /* batch_norm_19.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753A2219EF62700DF4209 /* batch_norm_19.w_0 */; }; + C2A75480219EF62800DF4209 /* batch_norm_4.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753A3219EF62700DF4209 /* batch_norm_4.b_0 */; }; + C2A75481219EF62800DF4209 /* batch_norm_32.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753A4219EF62700DF4209 /* batch_norm_32.w_1 */; }; + C2A75482219EF62800DF4209 /* batch_norm_26.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753A5219EF62700DF4209 /* batch_norm_26.w_1 */; }; + C2A75483219EF62800DF4209 /* batch_norm_30.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753A6219EF62700DF4209 /* batch_norm_30.w_1 */; }; + C2A75484219EF62800DF4209 /* batch_norm_24.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753A7219EF62700DF4209 /* batch_norm_24.w_1 */; }; + C2A75485219EF62800DF4209 /* batch_norm_18.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753A8219EF62700DF4209 /* batch_norm_18.w_1 */; }; + C2A75486219EF62800DF4209 /* batch_norm_6.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753A9219EF62700DF4209 /* batch_norm_6.b_0 */; }; + C2A75487219EF62800DF4209 /* batch_norm_9.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753AA219EF62700DF4209 /* batch_norm_9.w_2 */; }; + C2A75488219EF62800DF4209 /* conv2d_8.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753AB219EF62700DF4209 /* conv2d_8.w_0 */; }; + C2A75489219EF62800DF4209 /* batch_norm_27.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753AC219EF62700DF4209 /* batch_norm_27.w_0 */; }; + C2A7548A219EF62800DF4209 /* batch_norm_33.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753AD219EF62700DF4209 /* batch_norm_33.w_0 */; }; + C2A7548B219EF62800DF4209 /* batch_norm_32.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753AE219EF62700DF4209 /* batch_norm_32.w_0 */; }; + C2A7548C219EF62800DF4209 /* conv2d_9.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753AF219EF62700DF4209 /* conv2d_9.w_0 */; }; + C2A7548D219EF62800DF4209 /* batch_norm_26.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753B0219EF62700DF4209 /* batch_norm_26.w_0 */; }; + C2A7548E219EF62800DF4209 /* batch_norm_8.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753B1219EF62700DF4209 /* batch_norm_8.w_2 */; }; + C2A7548F219EF62800DF4209 /* batch_norm_7.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753B2219EF62700DF4209 /* batch_norm_7.b_0 */; }; + C2A75490219EF62800DF4209 /* batch_norm_19.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753B3219EF62700DF4209 /* batch_norm_19.w_1 */; }; + C2A75491219EF62800DF4209 /* batch_norm_25.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753B4219EF62700DF4209 /* batch_norm_25.w_1 */; }; + C2A75492219EF62800DF4209 /* batch_norm_31.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753B5219EF62700DF4209 /* batch_norm_31.w_1 */; }; + C2A75493219EF62800DF4209 /* batch_norm_28.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753B6219EF62700DF4209 /* batch_norm_28.w_1 */; }; + C2A75494219EF62800DF4209 /* batch_norm_14.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753B7219EF62700DF4209 /* batch_norm_14.w_1 */; }; + C2A75495219EF62800DF4209 /* batch_norm_5.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753B8219EF62700DF4209 /* batch_norm_5.w_2 */; }; + C2A75496219EF62800DF4209 /* batch_norm_17.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753B9219EF62700DF4209 /* batch_norm_17.w_0 */; }; + C2A75497219EF62800DF4209 /* conv2d_33.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753BA219EF62700DF4209 /* conv2d_33.b_0 */; }; + C2A75498219EF62800DF4209 /* conv2d_27.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753BB219EF62700DF4209 /* conv2d_27.b_0 */; }; + C2A75499219EF62800DF4209 /* conv2d_4.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753BC219EF62700DF4209 /* conv2d_4.w_0 */; }; + C2A7549A219EF62800DF4209 /* conv2d_5.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753BD219EF62700DF4209 /* conv2d_5.w_0 */; }; + C2A7549B219EF62800DF4209 /* conv2d_26.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753BE219EF62700DF4209 /* conv2d_26.b_0 */; }; + C2A7549C219EF62800DF4209 /* conv2d_32.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753BF219EF62700DF4209 /* conv2d_32.b_0 */; }; + C2A7549D219EF62800DF4209 /* batch_norm_16.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753C0219EF62700DF4209 /* batch_norm_16.w_0 */; }; + C2A7549E219EF62800DF4209 /* batch_norm_4.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753C1219EF62700DF4209 /* batch_norm_4.w_2 */; }; + C2A7549F219EF62800DF4209 /* batch_norm_15.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753C2219EF62700DF4209 /* batch_norm_15.w_1 */; }; + C2A754A0219EF62800DF4209 /* batch_norm_29.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753C3219EF62700DF4209 /* batch_norm_29.w_1 */; }; + C2A754A1219EF62800DF4209 /* batch_norm_17.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753C4219EF62700DF4209 /* batch_norm_17.w_1 */; }; + C2A754A2219EF62800DF4209 /* batch_norm_9.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753C5219EF62700DF4209 /* batch_norm_9.b_0 */; }; + C2A754A3219EF62800DF4209 /* batch_norm_6.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753C6219EF62700DF4209 /* batch_norm_6.w_2 */; }; + C2A754A4219EF62800DF4209 /* batch_norm_14.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753C7219EF62700DF4209 /* batch_norm_14.w_0 */; }; + C2A754A5219EF62800DF4209 /* batch_norm_28.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753C8219EF62700DF4209 /* batch_norm_28.w_0 */; }; + C2A754A6219EF62800DF4209 /* conv2d_24.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753C9219EF62700DF4209 /* conv2d_24.b_0 */; }; + C2A754A7219EF62800DF4209 /* conv2d_7.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753CA219EF62700DF4209 /* conv2d_7.w_0 */; }; + C2A754A8219EF62800DF4209 /* conv2d_30.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753CB219EF62700DF4209 /* conv2d_30.b_0 */; }; + C2A754A9219EF62800DF4209 /* conv2d_31.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753CC219EF62700DF4209 /* conv2d_31.b_0 */; }; + C2A754AA219EF62800DF4209 /* batch_norm_29.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753CD219EF62700DF4209 /* batch_norm_29.w_0 */; }; + C2A754AB219EF62800DF4209 /* conv2d_6.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753CE219EF62700DF4209 /* conv2d_6.w_0 */; }; + C2A754AC219EF62800DF4209 /* conv2d_25.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753CF219EF62700DF4209 /* conv2d_25.b_0 */; }; + C2A754AD219EF62800DF4209 /* batch_norm_15.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753D0219EF62700DF4209 /* batch_norm_15.w_0 */; }; + C2A754AE219EF62800DF4209 /* batch_norm_7.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753D1219EF62700DF4209 /* batch_norm_7.w_2 */; }; + C2A754AF219EF62800DF4209 /* batch_norm_8.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753D2219EF62700DF4209 /* batch_norm_8.b_0 */; }; + C2A754B0219EF62800DF4209 /* batch_norm_16.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753D3219EF62700DF4209 /* batch_norm_16.w_1 */; }; + C2A754B1219EF62800DF4209 /* batch_norm_12.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753D4219EF62700DF4209 /* batch_norm_12.w_1 */; }; + C2A754B2219EF62800DF4209 /* batch_norm_3.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753D5219EF62700DF4209 /* batch_norm_3.w_2 */; }; + C2A754B3219EF62800DF4209 /* conv2d_2.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753D6219EF62700DF4209 /* conv2d_2.w_0 */; }; + C2A754B4219EF62800DF4209 /* batch_norm_11.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753D7219EF62700DF4209 /* batch_norm_11.w_0 */; }; + C2A754B5219EF62800DF4209 /* batch_norm_10.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753D8219EF62700DF4209 /* batch_norm_10.w_0 */; }; + C2A754B6219EF62800DF4209 /* conv2d_3.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753D9219EF62700DF4209 /* conv2d_3.w_0 */; }; + C2A754B7219EF62800DF4209 /* batch_norm_2.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753DA219EF62700DF4209 /* batch_norm_2.w_2 */; }; + C2A754B8219EF62800DF4209 /* depthwise_conv2d_12.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753DB219EF62700DF4209 /* depthwise_conv2d_12.w_0 */; }; + C2A754B9219EF62800DF4209 /* batch_norm_13.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753DC219EF62700DF4209 /* batch_norm_13.w_1 */; }; + C2A754BA219EF62800DF4209 /* batch_norm_11.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753DD219EF62700DF4209 /* batch_norm_11.w_1 */; }; + C2A754BB219EF62800DF4209 /* depthwise_conv2d_10.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753DE219EF62700DF4209 /* depthwise_conv2d_10.w_0 */; }; + C2A754BC219EF62800DF4209 /* batch_norm_0.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753DF219EF62700DF4209 /* batch_norm_0.w_2 */; }; + C2A754BD219EF62800DF4209 /* conv2d_22.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753E0219EF62700DF4209 /* conv2d_22.b_0 */; }; + C2A754BE219EF62800DF4209 /* conv2d_1.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753E1219EF62700DF4209 /* conv2d_1.w_0 */; }; + C2A754BF219EF62800DF4209 /* batch_norm_12.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753E2219EF62700DF4209 /* batch_norm_12.w_0 */; }; + C2A754C0219EF62800DF4209 /* batch_norm_13.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753E3219EF62700DF4209 /* batch_norm_13.w_0 */; }; + C2A754C1219EF62800DF4209 /* conv2d_0.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753E4219EF62700DF4209 /* conv2d_0.w_0 */; }; + C2A754C2219EF62800DF4209 /* conv2d_23.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753E5219EF62700DF4209 /* conv2d_23.b_0 */; }; + C2A754C3219EF62800DF4209 /* batch_norm_1.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753E6219EF62700DF4209 /* batch_norm_1.w_2 */; }; + C2A754C4219EF62800DF4209 /* batch_norm_10.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753E7219EF62700DF4209 /* batch_norm_10.w_1 */; }; + C2A754C5219EF62800DF4209 /* depthwise_conv2d_11.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753E8219EF62700DF4209 /* depthwise_conv2d_11.w_0 */; }; + C2A754C6219EF62800DF4209 /* depthwise_conv2d_3.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753E9219EF62700DF4209 /* depthwise_conv2d_3.w_0 */; }; + C2A754C7219EF62800DF4209 /* batch_norm_13.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753EA219EF62700DF4209 /* batch_norm_13.b_0 */; }; + C2A754C8219EF62800DF4209 /* conv2d_23.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753EB219EF62700DF4209 /* conv2d_23.w_0 */; }; + C2A754C9219EF62800DF4209 /* batch_norm_20.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753EC219EF62700DF4209 /* batch_norm_20.w_2 */; }; + C2A754CA219EF62800DF4209 /* batch_norm_34.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753ED219EF62700DF4209 /* batch_norm_34.w_2 */; }; + C2A754CB219EF62800DF4209 /* batch_norm_21.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753EE219EF62700DF4209 /* batch_norm_21.w_2 */; }; + C2A754CC219EF62800DF4209 /* conv2d_22.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753EF219EF62700DF4209 /* conv2d_22.w_0 */; }; + C2A754CD219EF62800DF4209 /* batch_norm_12.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753F0219EF62700DF4209 /* batch_norm_12.b_0 */; }; + C2A754CE219EF62800DF4209 /* depthwise_conv2d_2.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753F1219EF62700DF4209 /* depthwise_conv2d_2.w_0 */; }; + C2A754CF219EF62800DF4209 /* depthwise_conv2d_0.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753F2219EF62700DF4209 /* depthwise_conv2d_0.w_0 */; }; + C2A754D0219EF62800DF4209 /* batch_norm_10.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753F3219EF62700DF4209 /* batch_norm_10.b_0 */; }; + C2A754D1219EF62800DF4209 /* conv2d_20.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753F4219EF62700DF4209 /* conv2d_20.w_0 */; }; + C2A754D2219EF62800DF4209 /* batch_norm_23.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753F5219EF62700DF4209 /* batch_norm_23.w_2 */; }; + C2A754D3219EF62800DF4209 /* batch_norm_22.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753F6219EF62700DF4209 /* batch_norm_22.w_2 */; }; + C2A754D4219EF62800DF4209 /* conv2d_21.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753F7219EF62700DF4209 /* conv2d_21.w_0 */; }; + C2A754D5219EF62800DF4209 /* batch_norm_11.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753F8219EF62700DF4209 /* batch_norm_11.b_0 */; }; + C2A754D6219EF62800DF4209 /* depthwise_conv2d_1.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753F9219EF62700DF4209 /* depthwise_conv2d_1.w_0 */; }; + C2A754D7219EF62800DF4209 /* depthwise_conv2d_5.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753FA219EF62700DF4209 /* depthwise_conv2d_5.w_0 */; }; + C2A754D8219EF62800DF4209 /* batch_norm_8.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753FB219EF62700DF4209 /* batch_norm_8.w_0 */; }; + C2A754D9219EF62800DF4209 /* conv2d_25.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753FC219EF62700DF4209 /* conv2d_25.w_0 */; }; + C2A754DA219EF62800DF4209 /* batch_norm_29.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753FD219EF62700DF4209 /* batch_norm_29.b_0 */; }; + C2A754DB219EF62800DF4209 /* conv2d_31.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753FE219EF62700DF4209 /* conv2d_31.w_0 */; }; + C2A754DC219EF62800DF4209 /* conv2d_19.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A753FF219EF62700DF4209 /* conv2d_19.w_0 */; }; + C2A754DD219EF62800DF4209 /* batch_norm_15.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75400219EF62700DF4209 /* batch_norm_15.b_0 */; }; + C2A754DE219EF62800DF4209 /* batch_norm_32.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75401219EF62700DF4209 /* batch_norm_32.w_2 */; }; + C2A754DF219EF62800DF4209 /* batch_norm_26.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75402219EF62700DF4209 /* batch_norm_26.w_2 */; }; + C2A754E0219EF62800DF4209 /* batch_norm_27.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75403219EF62700DF4209 /* batch_norm_27.w_2 */; }; + C2A754E1219EF62800DF4209 /* batch_norm_33.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75404219EF62700DF4209 /* batch_norm_33.w_2 */; }; + C2A754E2219EF62800DF4209 /* conv2d_18.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75405219EF62700DF4209 /* conv2d_18.w_0 */; }; + C2A754E3219EF62800DF4209 /* batch_norm_14.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75406219EF62700DF4209 /* batch_norm_14.b_0 */; }; + C2A754E4219EF62800DF4209 /* conv2d_30.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75407219EF62700DF4209 /* conv2d_30.w_0 */; }; + C2A754E5219EF62800DF4209 /* conv2d_24.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75408219EF62700DF4209 /* conv2d_24.w_0 */; }; + C2A754E6219EF62800DF4209 /* batch_norm_28.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75409219EF62700DF4209 /* batch_norm_28.b_0 */; }; + C2A754E7219EF62800DF4209 /* batch_norm_9.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7540A219EF62700DF4209 /* batch_norm_9.w_0 */; }; + C2A754E8219EF62800DF4209 /* depthwise_conv2d_4.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7540B219EF62700DF4209 /* depthwise_conv2d_4.w_0 */; }; + C2A754E9219EF62800DF4209 /* depthwise_conv2d_6.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7540C219EF62700DF4209 /* depthwise_conv2d_6.w_0 */; }; + C2A754EA219EF62800DF4209 /* conv2d_32.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7540D219EF62700DF4209 /* conv2d_32.w_0 */; }; + C2A754EB219EF62800DF4209 /* conv2d_26.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7540E219EF62700DF4209 /* conv2d_26.w_0 */; }; + C2A754EC219EF62800DF4209 /* batch_norm_16.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7540F219EF62700DF4209 /* batch_norm_16.b_0 */; }; + C2A754ED219EF62800DF4209 /* batch_norm_19.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75410219EF62700DF4209 /* batch_norm_19.w_2 */; }; + C2A754EE219EF62800DF4209 /* batch_norm_25.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75411219EF62700DF4209 /* batch_norm_25.w_2 */; }; + C2A754EF219EF62800DF4209 /* batch_norm_31.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75412219EF62700DF4209 /* batch_norm_31.w_2 */; }; + C2A754F0219EF62800DF4209 /* batch_norm_8.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75413219EF62700DF4209 /* batch_norm_8.w_1 */; }; + C2A754F1219EF62800DF4209 /* batch_norm_9.w_1 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75414219EF62700DF4209 /* batch_norm_9.w_1 */; }; + C2A754F2219EF62800DF4209 /* batch_norm_30.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75415219EF62700DF4209 /* batch_norm_30.w_2 */; }; + C2A754F3219EF62800DF4209 /* batch_norm_24.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75416219EF62700DF4209 /* batch_norm_24.w_2 */; }; + C2A754F4219EF62800DF4209 /* batch_norm_18.w_2 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75417219EF62700DF4209 /* batch_norm_18.w_2 */; }; + C2A754F5219EF62800DF4209 /* batch_norm_17.b_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75418219EF62700DF4209 /* batch_norm_17.b_0 */; }; + C2A754F6219EF62800DF4209 /* conv2d_27.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A75419219EF62700DF4209 /* conv2d_27.w_0 */; }; + C2A754F7219EF62800DF4209 /* conv2d_33.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7541A219EF62700DF4209 /* conv2d_33.w_0 */; }; + C2A754F8219EF62800DF4209 /* depthwise_conv2d_7.w_0 in Resources */ = {isa = PBXBuildFile; fileRef = C2A7541B219EF62700DF4209 /* depthwise_conv2d_7.w_0 */; }; + C2A754F9219EF62800DF4209 /* ar_model in Resources */ = {isa = PBXBuildFile; fileRef = C2A7541D219EF62700DF4209 /* ar_model */; }; + C2A754FA219EF62800DF4209 /* ar_params in Resources */ = {isa = PBXBuildFile; fileRef = C2A7541E219EF62700DF4209 /* ar_params */; }; + C2CBB49021B778EA0020DC6C /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = FC4FD97B2140EE250073E130 /* libc++.tbd */; }; + C2E33ADE217EB80E0097FDD6 /* synset.txt in Resources */ = {isa = PBXBuildFile; fileRef = C2E339FB217EB80E0097FDD6 /* synset.txt */; }; + C2E33ADF217EB80E0097FDD6 /* banana.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = C2E339FC217EB80E0097FDD6 /* banana.jpeg */; }; + C2E33AE0217EB80E0097FDD6 /* hand.jpg in Resources */ = {isa = PBXBuildFile; fileRef = C2E339FD217EB80E0097FDD6 /* hand.jpg */; }; + C2E33AE1217EB80E0097FDD6 /* iphone.JPG in Resources */ = {isa = PBXBuildFile; fileRef = C2E339FE217EB80E0097FDD6 /* iphone.JPG */; }; + C2E33AE2217EB80E0097FDD6 /* paddle-mobile.png in Resources */ = {isa = PBXBuildFile; fileRef = C2E339FF217EB80E0097FDD6 /* paddle-mobile.png */; }; C2E67E5E21524E460013F575 /* LoadPointerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = C2E67E5D21524E460013F575 /* LoadPointerViewController.m */; }; FC013928210204A3008100E3 /* PreProcessKernel.metal in Sources */ = {isa = PBXBuildFile; fileRef = FC013927210204A3008100E3 /* PreProcessKernel.metal */; }; FC039B8220E11C550081E9F8 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC039B8120E11C550081E9F8 /* AppDelegate.swift */; }; @@ -21,16 +247,6 @@ FCEBEC2C20E1391F00C0B14D /* paddle_mobile.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FCEBEC2B20E1391F00C0B14D /* paddle_mobile.framework */; }; FCEBEC2D20E1391F00C0B14D /* paddle_mobile.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = FCEBEC2B20E1391F00C0B14D /* paddle_mobile.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; FCF437E8214B6DDB00943429 /* MultiPredictViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FCF437E7214B6DDB00943429 /* MultiPredictViewController.swift */; }; - FCFE9B692152858600DECA15 /* hand.jpg.zip in Resources */ = {isa = PBXBuildFile; fileRef = FCFE9B632152858600DECA15 /* hand.jpg.zip */; }; - FCFE9B6A2152858600DECA15 /* synset.txt in Resources */ = {isa = PBXBuildFile; fileRef = FCFE9B642152858600DECA15 /* synset.txt */; }; - FCFE9B6B2152858600DECA15 /* banana.jpeg in Resources */ = {isa = PBXBuildFile; fileRef = FCFE9B652152858600DECA15 /* banana.jpeg */; }; - FCFE9B6C2152858600DECA15 /* hand.jpg in Resources */ = {isa = PBXBuildFile; fileRef = FCFE9B662152858600DECA15 /* hand.jpg */; }; - FCFE9B6D2152858600DECA15 /* iphone.JPG in Resources */ = {isa = PBXBuildFile; fileRef = FCFE9B672152858600DECA15 /* iphone.JPG */; }; - FCFE9B6E2152858600DECA15 /* paddle-mobile.png in Resources */ = {isa = PBXBuildFile; fileRef = FCFE9B682152858600DECA15 /* paddle-mobile.png */; }; - FCFE9C512152859600DECA15 /* genet_params in Resources */ = {isa = PBXBuildFile; fileRef = FCFE9B752152859500DECA15 /* genet_params */; }; - FCFE9C522152859600DECA15 /* genet_model in Resources */ = {isa = PBXBuildFile; fileRef = FCFE9B762152859500DECA15 /* genet_model */; }; - FCFE9D232152859600DECA15 /* ar_model in Resources */ = {isa = PBXBuildFile; fileRef = FCFE9C4C2152859500DECA15 /* ar_model */; }; - FCFE9D242152859600DECA15 /* ar_params in Resources */ = {isa = PBXBuildFile; fileRef = FCFE9C4D2152859500DECA15 /* ar_params */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -51,6 +267,231 @@ 081C9CF10DB06C58B8B6B039 /* Pods-paddle-mobile-demo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-paddle-mobile-demo.release.xcconfig"; path = "../Pods/Target Support Files/Pods-paddle-mobile-demo/Pods-paddle-mobile-demo.release.xcconfig"; sourceTree = ""; }; 18896810981724F8A0FED62A /* Pods_paddle_mobile_demo.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_paddle_mobile_demo.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 878829884E1A14D7044721D5 /* Pods-paddle-mobile-demo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-paddle-mobile-demo.debug.xcconfig"; path = "../Pods/Target Support Files/Pods-paddle-mobile-demo/Pods-paddle-mobile-demo.debug.xcconfig"; sourceTree = ""; }; + C2A75339219EF62700DF4209 /* params */ = {isa = PBXFileReference; lastKnownFileType = file; path = params; sourceTree = ""; }; + C2A7533A219EF62700DF4209 /* model */ = {isa = PBXFileReference; lastKnownFileType = file; path = model; sourceTree = ""; }; + C2A7533D219EF62700DF4209 /* combined_mobilenet_params */ = {isa = PBXFileReference; lastKnownFileType = file; path = combined_mobilenet_params; sourceTree = ""; }; + C2A7533E219EF62700DF4209 /* combined_mobilenet_model */ = {isa = PBXFileReference; lastKnownFileType = file; path = combined_mobilenet_model; sourceTree = ""; }; + C2A75340219EF62700DF4209 /* yolo_params */ = {isa = PBXFileReference; lastKnownFileType = file; path = yolo_params; sourceTree = ""; }; + C2A75341219EF62700DF4209 /* yolo_model */ = {isa = PBXFileReference; lastKnownFileType = file; path = yolo_model; sourceTree = ""; }; + C2A75343219EF62700DF4209 /* genet_params */ = {isa = PBXFileReference; lastKnownFileType = file; path = genet_params; sourceTree = ""; }; + C2A75344219EF62700DF4209 /* genet_model */ = {isa = PBXFileReference; lastKnownFileType = file; path = genet_model; sourceTree = ""; }; + C2A75346219EF62700DF4209 /* superresoltion_params */ = {isa = PBXFileReference; lastKnownFileType = file; path = superresoltion_params; sourceTree = ""; }; + C2A75347219EF62700DF4209 /* superresoltion_model */ = {isa = PBXFileReference; lastKnownFileType = file; path = superresoltion_model; sourceTree = ""; }; + C2A75349219EF62700DF4209 /* ssd_hand_params */ = {isa = PBXFileReference; lastKnownFileType = file; path = ssd_hand_params; sourceTree = ""; }; + C2A7534A219EF62700DF4209 /* ssd_hand_model */ = {isa = PBXFileReference; lastKnownFileType = file; path = ssd_hand_model; sourceTree = ""; }; + C2A7534C219EF62700DF4209 /* mobilenet */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = mobilenet; sourceTree = ""; }; + C2A7534D219EF62700DF4209 /* params */ = {isa = PBXFileReference; lastKnownFileType = file; path = params; sourceTree = ""; }; + C2A7534E219EF62700DF4209 /* model */ = {isa = PBXFileReference; lastKnownFileType = file; path = model; sourceTree = ""; }; + C2A7534F219EF62700DF4209 /* yolo */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = yolo; sourceTree = ""; }; + C2A75351219EF62700DF4209 /* params */ = {isa = PBXFileReference; lastKnownFileType = file; path = params; sourceTree = ""; }; + C2A75352219EF62700DF4209 /* model */ = {isa = PBXFileReference; lastKnownFileType = file; path = model; sourceTree = ""; }; + C2A75354219EF62700DF4209 /* batch_norm_7.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_7.w_0; sourceTree = ""; }; + C2A75355219EF62700DF4209 /* batch_norm_26.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_26.b_0; sourceTree = ""; }; + C2A75356219EF62700DF4209 /* batch_norm_32.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_32.b_0; sourceTree = ""; }; + C2A75357219EF62700DF4209 /* conv2d_16.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_16.w_0; sourceTree = ""; }; + C2A75358219EF62700DF4209 /* batch_norm_15.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_15.w_2; sourceTree = ""; }; + C2A75359219EF62700DF4209 /* batch_norm_29.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_29.w_2; sourceTree = ""; }; + C2A7535A219EF62700DF4209 /* batch_norm_4.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_4.w_1; sourceTree = ""; }; + C2A7535B219EF62700DF4209 /* batch_norm_5.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_5.w_1; sourceTree = ""; }; + C2A7535C219EF62700DF4209 /* batch_norm_28.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_28.w_2; sourceTree = ""; }; + C2A7535D219EF62700DF4209 /* batch_norm_14.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_14.w_2; sourceTree = ""; }; + C2A7535E219EF62700DF4209 /* conv2d_17.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_17.w_0; sourceTree = ""; }; + C2A7535F219EF62700DF4209 /* batch_norm_33.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_33.b_0; sourceTree = ""; }; + C2A75360219EF62700DF4209 /* batch_norm_27.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_27.b_0; sourceTree = ""; }; + C2A75361219EF62700DF4209 /* batch_norm_6.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_6.w_0; sourceTree = ""; }; + C2A75362219EF62700DF4209 /* batch_norm_4.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_4.w_0; sourceTree = ""; }; + C2A75363219EF62700DF4209 /* depthwise_conv2d_9.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_9.w_0; sourceTree = ""; }; + C2A75364219EF62700DF4209 /* batch_norm_31.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_31.b_0; sourceTree = ""; }; + C2A75365219EF62700DF4209 /* conv2d_29.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_29.w_0; sourceTree = ""; }; + C2A75366219EF62700DF4209 /* batch_norm_25.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_25.b_0; sourceTree = ""; }; + C2A75367219EF62700DF4209 /* conv2d_15.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_15.w_0; sourceTree = ""; }; + C2A75368219EF62700DF4209 /* batch_norm_19.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_19.b_0; sourceTree = ""; }; + C2A75369219EF62700DF4209 /* batch_norm_16.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_16.w_2; sourceTree = ""; }; + C2A7536A219EF62700DF4209 /* __model__ */ = {isa = PBXFileReference; lastKnownFileType = file; path = __model__; sourceTree = ""; }; + C2A7536B219EF62700DF4209 /* batch_norm_7.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_7.w_1; sourceTree = ""; }; + C2A7536C219EF62700DF4209 /* batch_norm_6.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_6.w_1; sourceTree = ""; }; + C2A7536D219EF62700DF4209 /* batch_norm_17.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_17.w_2; sourceTree = ""; }; + C2A7536E219EF62700DF4209 /* conv2d_14.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_14.w_0; sourceTree = ""; }; + C2A7536F219EF62700DF4209 /* batch_norm_18.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_18.b_0; sourceTree = ""; }; + C2A75370219EF62700DF4209 /* conv2d_28.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_28.w_0; sourceTree = ""; }; + C2A75371219EF62700DF4209 /* batch_norm_24.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_24.b_0; sourceTree = ""; }; + C2A75372219EF62700DF4209 /* batch_norm_30.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_30.b_0; sourceTree = ""; }; + C2A75373219EF62700DF4209 /* depthwise_conv2d_8.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_8.w_0; sourceTree = ""; }; + C2A75374219EF62700DF4209 /* batch_norm_5.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_5.w_0; sourceTree = ""; }; + C2A75375219EF62700DF4209 /* batch_norm_1.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_1.w_0; sourceTree = ""; }; + C2A75376219EF62700DF4209 /* conv2d_10.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_10.w_0; sourceTree = ""; }; + C2A75377219EF62700DF4209 /* batch_norm_34.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_34.b_0; sourceTree = ""; }; + C2A75378219EF62700DF4209 /* batch_norm_20.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_20.b_0; sourceTree = ""; }; + C2A75379219EF62700DF4209 /* batch_norm_13.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_13.w_2; sourceTree = ""; }; + C2A7537A219EF62700DF4209 /* batch_norm_2.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_2.w_1; sourceTree = ""; }; + C2A7537B219EF62700DF4209 /* batch_norm_3.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_3.w_1; sourceTree = ""; }; + C2A7537C219EF62700DF4209 /* batch_norm_12.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_12.w_2; sourceTree = ""; }; + C2A7537D219EF62700DF4209 /* batch_norm_21.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_21.b_0; sourceTree = ""; }; + C2A7537E219EF62700DF4209 /* conv2d_11.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_11.w_0; sourceTree = ""; }; + C2A7537F219EF62700DF4209 /* batch_norm_0.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_0.w_0; sourceTree = ""; }; + C2A75380219EF62700DF4209 /* batch_norm_2.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_2.w_0; sourceTree = ""; }; + C2A75381219EF62700DF4209 /* conv2d_13.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_13.w_0; sourceTree = ""; }; + C2A75382219EF62700DF4209 /* batch_norm_23.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_23.b_0; sourceTree = ""; }; + C2A75383219EF62700DF4209 /* batch_norm_10.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_10.w_2; sourceTree = ""; }; + C2A75384219EF62700DF4209 /* batch_norm_1.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_1.w_1; sourceTree = ""; }; + C2A75385219EF62700DF4209 /* batch_norm_0.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_0.w_1; sourceTree = ""; }; + C2A75386219EF62700DF4209 /* batch_norm_11.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_11.w_2; sourceTree = ""; }; + C2A75387219EF62700DF4209 /* batch_norm_22.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_22.b_0; sourceTree = ""; }; + C2A75388219EF62700DF4209 /* conv2d_12.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_12.w_0; sourceTree = ""; }; + C2A75389219EF62700DF4209 /* batch_norm_3.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_3.w_0; sourceTree = ""; }; + C2A7538A219EF62700DF4209 /* batch_norm_21.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_21.w_1; sourceTree = ""; }; + C2A7538B219EF62700DF4209 /* batch_norm_3.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_3.b_0; sourceTree = ""; }; + C2A7538C219EF62700DF4209 /* batch_norm_22.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_22.w_0; sourceTree = ""; }; + C2A7538D219EF62700DF4209 /* batch_norm_23.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_23.w_0; sourceTree = ""; }; + C2A7538E219EF62700DF4209 /* batch_norm_2.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_2.b_0; sourceTree = ""; }; + C2A7538F219EF62700DF4209 /* batch_norm_20.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_20.w_1; sourceTree = ""; }; + C2A75390219EF62700DF4209 /* batch_norm_34.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_34.w_1; sourceTree = ""; }; + C2A75391219EF62700DF4209 /* batch_norm_22.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_22.w_1; sourceTree = ""; }; + C2A75392219EF62700DF4209 /* batch_norm_0.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_0.b_0; sourceTree = ""; }; + C2A75393219EF62700DF4209 /* batch_norm_21.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_21.w_0; sourceTree = ""; }; + C2A75394219EF62700DF4209 /* batch_norm_20.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_20.w_0; sourceTree = ""; }; + C2A75395219EF62700DF4209 /* batch_norm_34.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_34.w_0; sourceTree = ""; }; + C2A75396219EF62700DF4209 /* batch_norm_1.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_1.b_0; sourceTree = ""; }; + C2A75397219EF62700DF4209 /* batch_norm_23.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_23.w_1; sourceTree = ""; }; + C2A75398219EF62700DF4209 /* batch_norm_27.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_27.w_1; sourceTree = ""; }; + C2A75399219EF62700DF4209 /* batch_norm_33.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_33.w_1; sourceTree = ""; }; + C2A7539A219EF62700DF4209 /* batch_norm_5.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_5.b_0; sourceTree = ""; }; + C2A7539B219EF62700DF4209 /* batch_norm_18.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_18.w_0; sourceTree = ""; }; + C2A7539C219EF62700DF4209 /* batch_norm_30.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_30.w_0; sourceTree = ""; }; + C2A7539D219EF62700DF4209 /* batch_norm_24.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_24.w_0; sourceTree = ""; }; + C2A7539E219EF62700DF4209 /* conv2d_28.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_28.b_0; sourceTree = ""; }; + C2A7539F219EF62700DF4209 /* batch_norm_25.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_25.w_0; sourceTree = ""; }; + C2A753A0219EF62700DF4209 /* conv2d_29.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_29.b_0; sourceTree = ""; }; + C2A753A1219EF62700DF4209 /* batch_norm_31.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_31.w_0; sourceTree = ""; }; + C2A753A2219EF62700DF4209 /* batch_norm_19.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_19.w_0; sourceTree = ""; }; + C2A753A3219EF62700DF4209 /* batch_norm_4.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_4.b_0; sourceTree = ""; }; + C2A753A4219EF62700DF4209 /* batch_norm_32.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_32.w_1; sourceTree = ""; }; + C2A753A5219EF62700DF4209 /* batch_norm_26.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_26.w_1; sourceTree = ""; }; + C2A753A6219EF62700DF4209 /* batch_norm_30.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_30.w_1; sourceTree = ""; }; + C2A753A7219EF62700DF4209 /* batch_norm_24.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_24.w_1; sourceTree = ""; }; + C2A753A8219EF62700DF4209 /* batch_norm_18.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_18.w_1; sourceTree = ""; }; + C2A753A9219EF62700DF4209 /* batch_norm_6.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_6.b_0; sourceTree = ""; }; + C2A753AA219EF62700DF4209 /* batch_norm_9.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_9.w_2; sourceTree = ""; }; + C2A753AB219EF62700DF4209 /* conv2d_8.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_8.w_0; sourceTree = ""; }; + C2A753AC219EF62700DF4209 /* batch_norm_27.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_27.w_0; sourceTree = ""; }; + C2A753AD219EF62700DF4209 /* batch_norm_33.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_33.w_0; sourceTree = ""; }; + C2A753AE219EF62700DF4209 /* batch_norm_32.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_32.w_0; sourceTree = ""; }; + C2A753AF219EF62700DF4209 /* conv2d_9.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_9.w_0; sourceTree = ""; }; + C2A753B0219EF62700DF4209 /* batch_norm_26.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_26.w_0; sourceTree = ""; }; + C2A753B1219EF62700DF4209 /* batch_norm_8.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_8.w_2; sourceTree = ""; }; + C2A753B2219EF62700DF4209 /* batch_norm_7.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_7.b_0; sourceTree = ""; }; + C2A753B3219EF62700DF4209 /* batch_norm_19.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_19.w_1; sourceTree = ""; }; + C2A753B4219EF62700DF4209 /* batch_norm_25.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_25.w_1; sourceTree = ""; }; + C2A753B5219EF62700DF4209 /* batch_norm_31.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_31.w_1; sourceTree = ""; }; + C2A753B6219EF62700DF4209 /* batch_norm_28.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_28.w_1; sourceTree = ""; }; + C2A753B7219EF62700DF4209 /* batch_norm_14.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_14.w_1; sourceTree = ""; }; + C2A753B8219EF62700DF4209 /* batch_norm_5.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_5.w_2; sourceTree = ""; }; + C2A753B9219EF62700DF4209 /* batch_norm_17.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_17.w_0; sourceTree = ""; }; + C2A753BA219EF62700DF4209 /* conv2d_33.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_33.b_0; sourceTree = ""; }; + C2A753BB219EF62700DF4209 /* conv2d_27.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_27.b_0; sourceTree = ""; }; + C2A753BC219EF62700DF4209 /* conv2d_4.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_4.w_0; sourceTree = ""; }; + C2A753BD219EF62700DF4209 /* conv2d_5.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_5.w_0; sourceTree = ""; }; + C2A753BE219EF62700DF4209 /* conv2d_26.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_26.b_0; sourceTree = ""; }; + C2A753BF219EF62700DF4209 /* conv2d_32.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_32.b_0; sourceTree = ""; }; + C2A753C0219EF62700DF4209 /* batch_norm_16.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_16.w_0; sourceTree = ""; }; + C2A753C1219EF62700DF4209 /* batch_norm_4.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_4.w_2; sourceTree = ""; }; + C2A753C2219EF62700DF4209 /* batch_norm_15.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_15.w_1; sourceTree = ""; }; + C2A753C3219EF62700DF4209 /* batch_norm_29.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_29.w_1; sourceTree = ""; }; + C2A753C4219EF62700DF4209 /* batch_norm_17.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_17.w_1; sourceTree = ""; }; + C2A753C5219EF62700DF4209 /* batch_norm_9.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_9.b_0; sourceTree = ""; }; + C2A753C6219EF62700DF4209 /* batch_norm_6.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_6.w_2; sourceTree = ""; }; + C2A753C7219EF62700DF4209 /* batch_norm_14.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_14.w_0; sourceTree = ""; }; + C2A753C8219EF62700DF4209 /* batch_norm_28.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_28.w_0; sourceTree = ""; }; + C2A753C9219EF62700DF4209 /* conv2d_24.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_24.b_0; sourceTree = ""; }; + C2A753CA219EF62700DF4209 /* conv2d_7.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_7.w_0; sourceTree = ""; }; + C2A753CB219EF62700DF4209 /* conv2d_30.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_30.b_0; sourceTree = ""; }; + C2A753CC219EF62700DF4209 /* conv2d_31.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_31.b_0; sourceTree = ""; }; + C2A753CD219EF62700DF4209 /* batch_norm_29.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_29.w_0; sourceTree = ""; }; + C2A753CE219EF62700DF4209 /* conv2d_6.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_6.w_0; sourceTree = ""; }; + C2A753CF219EF62700DF4209 /* conv2d_25.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_25.b_0; sourceTree = ""; }; + C2A753D0219EF62700DF4209 /* batch_norm_15.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_15.w_0; sourceTree = ""; }; + C2A753D1219EF62700DF4209 /* batch_norm_7.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_7.w_2; sourceTree = ""; }; + C2A753D2219EF62700DF4209 /* batch_norm_8.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_8.b_0; sourceTree = ""; }; + C2A753D3219EF62700DF4209 /* batch_norm_16.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_16.w_1; sourceTree = ""; }; + C2A753D4219EF62700DF4209 /* batch_norm_12.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_12.w_1; sourceTree = ""; }; + C2A753D5219EF62700DF4209 /* batch_norm_3.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_3.w_2; sourceTree = ""; }; + C2A753D6219EF62700DF4209 /* conv2d_2.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_2.w_0; sourceTree = ""; }; + C2A753D7219EF62700DF4209 /* batch_norm_11.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_11.w_0; sourceTree = ""; }; + C2A753D8219EF62700DF4209 /* batch_norm_10.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_10.w_0; sourceTree = ""; }; + C2A753D9219EF62700DF4209 /* conv2d_3.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_3.w_0; sourceTree = ""; }; + C2A753DA219EF62700DF4209 /* batch_norm_2.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_2.w_2; sourceTree = ""; }; + C2A753DB219EF62700DF4209 /* depthwise_conv2d_12.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_12.w_0; sourceTree = ""; }; + C2A753DC219EF62700DF4209 /* batch_norm_13.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_13.w_1; sourceTree = ""; }; + C2A753DD219EF62700DF4209 /* batch_norm_11.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_11.w_1; sourceTree = ""; }; + C2A753DE219EF62700DF4209 /* depthwise_conv2d_10.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_10.w_0; sourceTree = ""; }; + C2A753DF219EF62700DF4209 /* batch_norm_0.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_0.w_2; sourceTree = ""; }; + C2A753E0219EF62700DF4209 /* conv2d_22.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_22.b_0; sourceTree = ""; }; + C2A753E1219EF62700DF4209 /* conv2d_1.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_1.w_0; sourceTree = ""; }; + C2A753E2219EF62700DF4209 /* batch_norm_12.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_12.w_0; sourceTree = ""; }; + C2A753E3219EF62700DF4209 /* batch_norm_13.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_13.w_0; sourceTree = ""; }; + C2A753E4219EF62700DF4209 /* conv2d_0.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_0.w_0; sourceTree = ""; }; + C2A753E5219EF62700DF4209 /* conv2d_23.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_23.b_0; sourceTree = ""; }; + C2A753E6219EF62700DF4209 /* batch_norm_1.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_1.w_2; sourceTree = ""; }; + C2A753E7219EF62700DF4209 /* batch_norm_10.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_10.w_1; sourceTree = ""; }; + C2A753E8219EF62700DF4209 /* depthwise_conv2d_11.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_11.w_0; sourceTree = ""; }; + C2A753E9219EF62700DF4209 /* depthwise_conv2d_3.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_3.w_0; sourceTree = ""; }; + C2A753EA219EF62700DF4209 /* batch_norm_13.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_13.b_0; sourceTree = ""; }; + C2A753EB219EF62700DF4209 /* conv2d_23.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_23.w_0; sourceTree = ""; }; + C2A753EC219EF62700DF4209 /* batch_norm_20.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_20.w_2; sourceTree = ""; }; + C2A753ED219EF62700DF4209 /* batch_norm_34.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_34.w_2; sourceTree = ""; }; + C2A753EE219EF62700DF4209 /* batch_norm_21.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_21.w_2; sourceTree = ""; }; + C2A753EF219EF62700DF4209 /* conv2d_22.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_22.w_0; sourceTree = ""; }; + C2A753F0219EF62700DF4209 /* batch_norm_12.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_12.b_0; sourceTree = ""; }; + C2A753F1219EF62700DF4209 /* depthwise_conv2d_2.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_2.w_0; sourceTree = ""; }; + C2A753F2219EF62700DF4209 /* depthwise_conv2d_0.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_0.w_0; sourceTree = ""; }; + C2A753F3219EF62700DF4209 /* batch_norm_10.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_10.b_0; sourceTree = ""; }; + C2A753F4219EF62700DF4209 /* conv2d_20.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_20.w_0; sourceTree = ""; }; + C2A753F5219EF62700DF4209 /* batch_norm_23.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_23.w_2; sourceTree = ""; }; + C2A753F6219EF62700DF4209 /* batch_norm_22.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_22.w_2; sourceTree = ""; }; + C2A753F7219EF62700DF4209 /* conv2d_21.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_21.w_0; sourceTree = ""; }; + C2A753F8219EF62700DF4209 /* batch_norm_11.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_11.b_0; sourceTree = ""; }; + C2A753F9219EF62700DF4209 /* depthwise_conv2d_1.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_1.w_0; sourceTree = ""; }; + C2A753FA219EF62700DF4209 /* depthwise_conv2d_5.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_5.w_0; sourceTree = ""; }; + C2A753FB219EF62700DF4209 /* batch_norm_8.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_8.w_0; sourceTree = ""; }; + C2A753FC219EF62700DF4209 /* conv2d_25.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_25.w_0; sourceTree = ""; }; + C2A753FD219EF62700DF4209 /* batch_norm_29.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_29.b_0; sourceTree = ""; }; + C2A753FE219EF62700DF4209 /* conv2d_31.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_31.w_0; sourceTree = ""; }; + C2A753FF219EF62700DF4209 /* conv2d_19.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_19.w_0; sourceTree = ""; }; + C2A75400219EF62700DF4209 /* batch_norm_15.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_15.b_0; sourceTree = ""; }; + C2A75401219EF62700DF4209 /* batch_norm_32.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_32.w_2; sourceTree = ""; }; + C2A75402219EF62700DF4209 /* batch_norm_26.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_26.w_2; sourceTree = ""; }; + C2A75403219EF62700DF4209 /* batch_norm_27.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_27.w_2; sourceTree = ""; }; + C2A75404219EF62700DF4209 /* batch_norm_33.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_33.w_2; sourceTree = ""; }; + C2A75405219EF62700DF4209 /* conv2d_18.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_18.w_0; sourceTree = ""; }; + C2A75406219EF62700DF4209 /* batch_norm_14.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_14.b_0; sourceTree = ""; }; + C2A75407219EF62700DF4209 /* conv2d_30.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_30.w_0; sourceTree = ""; }; + C2A75408219EF62700DF4209 /* conv2d_24.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_24.w_0; sourceTree = ""; }; + C2A75409219EF62700DF4209 /* batch_norm_28.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_28.b_0; sourceTree = ""; }; + C2A7540A219EF62700DF4209 /* batch_norm_9.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_9.w_0; sourceTree = ""; }; + C2A7540B219EF62700DF4209 /* depthwise_conv2d_4.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_4.w_0; sourceTree = ""; }; + C2A7540C219EF62700DF4209 /* depthwise_conv2d_6.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_6.w_0; sourceTree = ""; }; + C2A7540D219EF62700DF4209 /* conv2d_32.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_32.w_0; sourceTree = ""; }; + C2A7540E219EF62700DF4209 /* conv2d_26.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_26.w_0; sourceTree = ""; }; + C2A7540F219EF62700DF4209 /* batch_norm_16.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_16.b_0; sourceTree = ""; }; + C2A75410219EF62700DF4209 /* batch_norm_19.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_19.w_2; sourceTree = ""; }; + C2A75411219EF62700DF4209 /* batch_norm_25.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_25.w_2; sourceTree = ""; }; + C2A75412219EF62700DF4209 /* batch_norm_31.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_31.w_2; sourceTree = ""; }; + C2A75413219EF62700DF4209 /* batch_norm_8.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_8.w_1; sourceTree = ""; }; + C2A75414219EF62700DF4209 /* batch_norm_9.w_1 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_9.w_1; sourceTree = ""; }; + C2A75415219EF62700DF4209 /* batch_norm_30.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_30.w_2; sourceTree = ""; }; + C2A75416219EF62700DF4209 /* batch_norm_24.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_24.w_2; sourceTree = ""; }; + C2A75417219EF62700DF4209 /* batch_norm_18.w_2 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_18.w_2; sourceTree = ""; }; + C2A75418219EF62700DF4209 /* batch_norm_17.b_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = batch_norm_17.b_0; sourceTree = ""; }; + C2A75419219EF62700DF4209 /* conv2d_27.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_27.w_0; sourceTree = ""; }; + C2A7541A219EF62700DF4209 /* conv2d_33.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = conv2d_33.w_0; sourceTree = ""; }; + C2A7541B219EF62700DF4209 /* depthwise_conv2d_7.w_0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = depthwise_conv2d_7.w_0; sourceTree = ""; }; + C2A7541D219EF62700DF4209 /* ar_model */ = {isa = PBXFileReference; lastKnownFileType = file; path = ar_model; sourceTree = ""; }; + C2A7541E219EF62700DF4209 /* ar_params */ = {isa = PBXFileReference; lastKnownFileType = file; path = ar_params; sourceTree = ""; }; + C2E339FB217EB80E0097FDD6 /* synset.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = synset.txt; sourceTree = ""; }; + C2E339FC217EB80E0097FDD6 /* banana.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = banana.jpeg; sourceTree = ""; }; + C2E339FD217EB80E0097FDD6 /* hand.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = hand.jpg; sourceTree = ""; }; + C2E339FE217EB80E0097FDD6 /* iphone.JPG */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = iphone.JPG; sourceTree = ""; }; + C2E339FF217EB80E0097FDD6 /* paddle-mobile.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "paddle-mobile.png"; sourceTree = ""; }; C2E67E5C21524E460013F575 /* LoadPointerViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LoadPointerViewController.h; sourceTree = ""; }; C2E67E5D21524E460013F575 /* LoadPointerViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LoadPointerViewController.m; sourceTree = ""; }; FC013927210204A3008100E3 /* PreProcessKernel.metal */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.metal; path = PreProcessKernel.metal; sourceTree = ""; }; @@ -68,16 +509,6 @@ FCBCCC542122EF5400D94F7E /* MetalHelper.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MetalHelper.swift; sourceTree = ""; }; FCEBEC2B20E1391F00C0B14D /* paddle_mobile.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = paddle_mobile.framework; sourceTree = BUILT_PRODUCTS_DIR; }; FCF437E7214B6DDB00943429 /* MultiPredictViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MultiPredictViewController.swift; sourceTree = ""; }; - FCFE9B632152858600DECA15 /* hand.jpg.zip */ = {isa = PBXFileReference; lastKnownFileType = archive.zip; path = hand.jpg.zip; sourceTree = ""; }; - FCFE9B642152858600DECA15 /* synset.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = synset.txt; sourceTree = ""; }; - FCFE9B652152858600DECA15 /* banana.jpeg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = banana.jpeg; sourceTree = ""; }; - FCFE9B662152858600DECA15 /* hand.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = hand.jpg; sourceTree = ""; }; - FCFE9B672152858600DECA15 /* iphone.JPG */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = iphone.JPG; sourceTree = ""; }; - FCFE9B682152858600DECA15 /* paddle-mobile.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "paddle-mobile.png"; sourceTree = ""; }; - FCFE9B752152859500DECA15 /* genet_params */ = {isa = PBXFileReference; lastKnownFileType = file; path = genet_params; sourceTree = ""; }; - FCFE9B762152859500DECA15 /* genet_model */ = {isa = PBXFileReference; lastKnownFileType = file; path = genet_model; sourceTree = ""; }; - FCFE9C4C2152859500DECA15 /* ar_model */ = {isa = PBXFileReference; lastKnownFileType = file; path = ar_model; sourceTree = ""; }; - FCFE9C4D2152859500DECA15 /* ar_params */ = {isa = PBXFileReference; lastKnownFileType = file; path = ar_params; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -85,6 +516,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + C2CBB49021B778EA0020DC6C /* libc++.tbd in Frameworks */, FCEBEC2C20E1391F00C0B14D /* paddle_mobile.framework in Frameworks */, 30D0ED21F392CFA3885B1002 /* Pods_paddle_mobile_demo.framework in Frameworks */, ); @@ -111,6 +543,333 @@ name = Frameworks; sourceTree = ""; }; + C2A75337219EF62700DF4209 /* models */ = { + isa = PBXGroup; + children = ( + C2A75338219EF62700DF4209 /* mobilenet */, + C2A7533B219EF62700DF4209 /* yolo_combined */, + C2A75342219EF62700DF4209 /* genet */, + C2A75345219EF62700DF4209 /* superresoltion */, + C2A75348219EF62700DF4209 /* mobilenet_ssd_hand */, + C2A7534B219EF62700DF4209 /* yolo */, + C2A75350219EF62700DF4209 /* mobilenet_combine */, + C2A75353219EF62700DF4209 /* mobilenetssd */, + C2A7541C219EF62700DF4209 /* fluid_fssd_new_ar */, + ); + path = models; + sourceTree = ""; + }; + C2A75338219EF62700DF4209 /* mobilenet */ = { + isa = PBXGroup; + children = ( + C2A75339219EF62700DF4209 /* params */, + C2A7533A219EF62700DF4209 /* model */, + ); + path = mobilenet; + sourceTree = ""; + }; + C2A7533B219EF62700DF4209 /* yolo_combined */ = { + isa = PBXGroup; + children = ( + C2A7533C219EF62700DF4209 /* mobilenet */, + C2A7533F219EF62700DF4209 /* yolo */, + ); + path = yolo_combined; + sourceTree = ""; + }; + C2A7533C219EF62700DF4209 /* mobilenet */ = { + isa = PBXGroup; + children = ( + C2A7533D219EF62700DF4209 /* combined_mobilenet_params */, + C2A7533E219EF62700DF4209 /* combined_mobilenet_model */, + ); + path = mobilenet; + sourceTree = ""; + }; + C2A7533F219EF62700DF4209 /* yolo */ = { + isa = PBXGroup; + children = ( + C2A75340219EF62700DF4209 /* yolo_params */, + C2A75341219EF62700DF4209 /* yolo_model */, + ); + path = yolo; + sourceTree = ""; + }; + C2A75342219EF62700DF4209 /* genet */ = { + isa = PBXGroup; + children = ( + C2A75343219EF62700DF4209 /* genet_params */, + C2A75344219EF62700DF4209 /* genet_model */, + ); + path = genet; + sourceTree = ""; + }; + C2A75345219EF62700DF4209 /* superresoltion */ = { + isa = PBXGroup; + children = ( + C2A75346219EF62700DF4209 /* superresoltion_params */, + C2A75347219EF62700DF4209 /* superresoltion_model */, + ); + path = superresoltion; + sourceTree = ""; + }; + C2A75348219EF62700DF4209 /* mobilenet_ssd_hand */ = { + isa = PBXGroup; + children = ( + C2A75349219EF62700DF4209 /* ssd_hand_params */, + C2A7534A219EF62700DF4209 /* ssd_hand_model */, + ); + path = mobilenet_ssd_hand; + sourceTree = ""; + }; + C2A7534B219EF62700DF4209 /* yolo */ = { + isa = PBXGroup; + children = ( + C2A7534C219EF62700DF4209 /* mobilenet */, + C2A7534D219EF62700DF4209 /* params */, + C2A7534E219EF62700DF4209 /* model */, + C2A7534F219EF62700DF4209 /* yolo */, + ); + path = yolo; + sourceTree = ""; + }; + C2A75350219EF62700DF4209 /* mobilenet_combine */ = { + isa = PBXGroup; + children = ( + C2A75351219EF62700DF4209 /* params */, + C2A75352219EF62700DF4209 /* model */, + ); + path = mobilenet_combine; + sourceTree = ""; + }; + C2A75353219EF62700DF4209 /* mobilenetssd */ = { + isa = PBXGroup; + children = ( + C2A75354219EF62700DF4209 /* batch_norm_7.w_0 */, + C2A75355219EF62700DF4209 /* batch_norm_26.b_0 */, + C2A75356219EF62700DF4209 /* batch_norm_32.b_0 */, + C2A75357219EF62700DF4209 /* conv2d_16.w_0 */, + C2A75358219EF62700DF4209 /* batch_norm_15.w_2 */, + C2A75359219EF62700DF4209 /* batch_norm_29.w_2 */, + C2A7535A219EF62700DF4209 /* batch_norm_4.w_1 */, + C2A7535B219EF62700DF4209 /* batch_norm_5.w_1 */, + C2A7535C219EF62700DF4209 /* batch_norm_28.w_2 */, + C2A7535D219EF62700DF4209 /* batch_norm_14.w_2 */, + C2A7535E219EF62700DF4209 /* conv2d_17.w_0 */, + C2A7535F219EF62700DF4209 /* batch_norm_33.b_0 */, + C2A75360219EF62700DF4209 /* batch_norm_27.b_0 */, + C2A75361219EF62700DF4209 /* batch_norm_6.w_0 */, + C2A75362219EF62700DF4209 /* batch_norm_4.w_0 */, + C2A75363219EF62700DF4209 /* depthwise_conv2d_9.w_0 */, + C2A75364219EF62700DF4209 /* batch_norm_31.b_0 */, + C2A75365219EF62700DF4209 /* conv2d_29.w_0 */, + C2A75366219EF62700DF4209 /* batch_norm_25.b_0 */, + C2A75367219EF62700DF4209 /* conv2d_15.w_0 */, + C2A75368219EF62700DF4209 /* batch_norm_19.b_0 */, + C2A75369219EF62700DF4209 /* batch_norm_16.w_2 */, + C2A7536A219EF62700DF4209 /* __model__ */, + C2A7536B219EF62700DF4209 /* batch_norm_7.w_1 */, + C2A7536C219EF62700DF4209 /* batch_norm_6.w_1 */, + C2A7536D219EF62700DF4209 /* batch_norm_17.w_2 */, + C2A7536E219EF62700DF4209 /* conv2d_14.w_0 */, + C2A7536F219EF62700DF4209 /* batch_norm_18.b_0 */, + C2A75370219EF62700DF4209 /* conv2d_28.w_0 */, + C2A75371219EF62700DF4209 /* batch_norm_24.b_0 */, + C2A75372219EF62700DF4209 /* batch_norm_30.b_0 */, + C2A75373219EF62700DF4209 /* depthwise_conv2d_8.w_0 */, + C2A75374219EF62700DF4209 /* batch_norm_5.w_0 */, + C2A75375219EF62700DF4209 /* batch_norm_1.w_0 */, + C2A75376219EF62700DF4209 /* conv2d_10.w_0 */, + C2A75377219EF62700DF4209 /* batch_norm_34.b_0 */, + C2A75378219EF62700DF4209 /* batch_norm_20.b_0 */, + C2A75379219EF62700DF4209 /* batch_norm_13.w_2 */, + C2A7537A219EF62700DF4209 /* batch_norm_2.w_1 */, + C2A7537B219EF62700DF4209 /* batch_norm_3.w_1 */, + C2A7537C219EF62700DF4209 /* batch_norm_12.w_2 */, + C2A7537D219EF62700DF4209 /* batch_norm_21.b_0 */, + C2A7537E219EF62700DF4209 /* conv2d_11.w_0 */, + C2A7537F219EF62700DF4209 /* batch_norm_0.w_0 */, + C2A75380219EF62700DF4209 /* batch_norm_2.w_0 */, + C2A75381219EF62700DF4209 /* conv2d_13.w_0 */, + C2A75382219EF62700DF4209 /* batch_norm_23.b_0 */, + C2A75383219EF62700DF4209 /* batch_norm_10.w_2 */, + C2A75384219EF62700DF4209 /* batch_norm_1.w_1 */, + C2A75385219EF62700DF4209 /* batch_norm_0.w_1 */, + C2A75386219EF62700DF4209 /* batch_norm_11.w_2 */, + C2A75387219EF62700DF4209 /* batch_norm_22.b_0 */, + C2A75388219EF62700DF4209 /* conv2d_12.w_0 */, + C2A75389219EF62700DF4209 /* batch_norm_3.w_0 */, + C2A7538A219EF62700DF4209 /* batch_norm_21.w_1 */, + C2A7538B219EF62700DF4209 /* batch_norm_3.b_0 */, + C2A7538C219EF62700DF4209 /* batch_norm_22.w_0 */, + C2A7538D219EF62700DF4209 /* batch_norm_23.w_0 */, + C2A7538E219EF62700DF4209 /* batch_norm_2.b_0 */, + C2A7538F219EF62700DF4209 /* batch_norm_20.w_1 */, + C2A75390219EF62700DF4209 /* batch_norm_34.w_1 */, + C2A75391219EF62700DF4209 /* batch_norm_22.w_1 */, + C2A75392219EF62700DF4209 /* batch_norm_0.b_0 */, + C2A75393219EF62700DF4209 /* batch_norm_21.w_0 */, + C2A75394219EF62700DF4209 /* batch_norm_20.w_0 */, + C2A75395219EF62700DF4209 /* batch_norm_34.w_0 */, + C2A75396219EF62700DF4209 /* batch_norm_1.b_0 */, + C2A75397219EF62700DF4209 /* batch_norm_23.w_1 */, + C2A75398219EF62700DF4209 /* batch_norm_27.w_1 */, + C2A75399219EF62700DF4209 /* batch_norm_33.w_1 */, + C2A7539A219EF62700DF4209 /* batch_norm_5.b_0 */, + C2A7539B219EF62700DF4209 /* batch_norm_18.w_0 */, + C2A7539C219EF62700DF4209 /* batch_norm_30.w_0 */, + C2A7539D219EF62700DF4209 /* batch_norm_24.w_0 */, + C2A7539E219EF62700DF4209 /* conv2d_28.b_0 */, + C2A7539F219EF62700DF4209 /* batch_norm_25.w_0 */, + C2A753A0219EF62700DF4209 /* conv2d_29.b_0 */, + C2A753A1219EF62700DF4209 /* batch_norm_31.w_0 */, + C2A753A2219EF62700DF4209 /* batch_norm_19.w_0 */, + C2A753A3219EF62700DF4209 /* batch_norm_4.b_0 */, + C2A753A4219EF62700DF4209 /* batch_norm_32.w_1 */, + C2A753A5219EF62700DF4209 /* batch_norm_26.w_1 */, + C2A753A6219EF62700DF4209 /* batch_norm_30.w_1 */, + C2A753A7219EF62700DF4209 /* batch_norm_24.w_1 */, + C2A753A8219EF62700DF4209 /* batch_norm_18.w_1 */, + C2A753A9219EF62700DF4209 /* batch_norm_6.b_0 */, + C2A753AA219EF62700DF4209 /* batch_norm_9.w_2 */, + C2A753AB219EF62700DF4209 /* conv2d_8.w_0 */, + C2A753AC219EF62700DF4209 /* batch_norm_27.w_0 */, + C2A753AD219EF62700DF4209 /* batch_norm_33.w_0 */, + C2A753AE219EF62700DF4209 /* batch_norm_32.w_0 */, + C2A753AF219EF62700DF4209 /* conv2d_9.w_0 */, + C2A753B0219EF62700DF4209 /* batch_norm_26.w_0 */, + C2A753B1219EF62700DF4209 /* batch_norm_8.w_2 */, + C2A753B2219EF62700DF4209 /* batch_norm_7.b_0 */, + C2A753B3219EF62700DF4209 /* batch_norm_19.w_1 */, + C2A753B4219EF62700DF4209 /* batch_norm_25.w_1 */, + C2A753B5219EF62700DF4209 /* batch_norm_31.w_1 */, + C2A753B6219EF62700DF4209 /* batch_norm_28.w_1 */, + C2A753B7219EF62700DF4209 /* batch_norm_14.w_1 */, + C2A753B8219EF62700DF4209 /* batch_norm_5.w_2 */, + C2A753B9219EF62700DF4209 /* batch_norm_17.w_0 */, + C2A753BA219EF62700DF4209 /* conv2d_33.b_0 */, + C2A753BB219EF62700DF4209 /* conv2d_27.b_0 */, + C2A753BC219EF62700DF4209 /* conv2d_4.w_0 */, + C2A753BD219EF62700DF4209 /* conv2d_5.w_0 */, + C2A753BE219EF62700DF4209 /* conv2d_26.b_0 */, + C2A753BF219EF62700DF4209 /* conv2d_32.b_0 */, + C2A753C0219EF62700DF4209 /* batch_norm_16.w_0 */, + C2A753C1219EF62700DF4209 /* batch_norm_4.w_2 */, + C2A753C2219EF62700DF4209 /* batch_norm_15.w_1 */, + C2A753C3219EF62700DF4209 /* batch_norm_29.w_1 */, + C2A753C4219EF62700DF4209 /* batch_norm_17.w_1 */, + C2A753C5219EF62700DF4209 /* batch_norm_9.b_0 */, + C2A753C6219EF62700DF4209 /* batch_norm_6.w_2 */, + C2A753C7219EF62700DF4209 /* batch_norm_14.w_0 */, + C2A753C8219EF62700DF4209 /* batch_norm_28.w_0 */, + C2A753C9219EF62700DF4209 /* conv2d_24.b_0 */, + C2A753CA219EF62700DF4209 /* conv2d_7.w_0 */, + C2A753CB219EF62700DF4209 /* conv2d_30.b_0 */, + C2A753CC219EF62700DF4209 /* conv2d_31.b_0 */, + C2A753CD219EF62700DF4209 /* batch_norm_29.w_0 */, + C2A753CE219EF62700DF4209 /* conv2d_6.w_0 */, + C2A753CF219EF62700DF4209 /* conv2d_25.b_0 */, + C2A753D0219EF62700DF4209 /* batch_norm_15.w_0 */, + C2A753D1219EF62700DF4209 /* batch_norm_7.w_2 */, + C2A753D2219EF62700DF4209 /* batch_norm_8.b_0 */, + C2A753D3219EF62700DF4209 /* batch_norm_16.w_1 */, + C2A753D4219EF62700DF4209 /* batch_norm_12.w_1 */, + C2A753D5219EF62700DF4209 /* batch_norm_3.w_2 */, + C2A753D6219EF62700DF4209 /* conv2d_2.w_0 */, + C2A753D7219EF62700DF4209 /* batch_norm_11.w_0 */, + C2A753D8219EF62700DF4209 /* batch_norm_10.w_0 */, + C2A753D9219EF62700DF4209 /* conv2d_3.w_0 */, + C2A753DA219EF62700DF4209 /* batch_norm_2.w_2 */, + C2A753DB219EF62700DF4209 /* depthwise_conv2d_12.w_0 */, + C2A753DC219EF62700DF4209 /* batch_norm_13.w_1 */, + C2A753DD219EF62700DF4209 /* batch_norm_11.w_1 */, + C2A753DE219EF62700DF4209 /* depthwise_conv2d_10.w_0 */, + C2A753DF219EF62700DF4209 /* batch_norm_0.w_2 */, + C2A753E0219EF62700DF4209 /* conv2d_22.b_0 */, + C2A753E1219EF62700DF4209 /* conv2d_1.w_0 */, + C2A753E2219EF62700DF4209 /* batch_norm_12.w_0 */, + C2A753E3219EF62700DF4209 /* batch_norm_13.w_0 */, + C2A753E4219EF62700DF4209 /* conv2d_0.w_0 */, + C2A753E5219EF62700DF4209 /* conv2d_23.b_0 */, + C2A753E6219EF62700DF4209 /* batch_norm_1.w_2 */, + C2A753E7219EF62700DF4209 /* batch_norm_10.w_1 */, + C2A753E8219EF62700DF4209 /* depthwise_conv2d_11.w_0 */, + C2A753E9219EF62700DF4209 /* depthwise_conv2d_3.w_0 */, + C2A753EA219EF62700DF4209 /* batch_norm_13.b_0 */, + C2A753EB219EF62700DF4209 /* conv2d_23.w_0 */, + C2A753EC219EF62700DF4209 /* batch_norm_20.w_2 */, + C2A753ED219EF62700DF4209 /* batch_norm_34.w_2 */, + C2A753EE219EF62700DF4209 /* batch_norm_21.w_2 */, + C2A753EF219EF62700DF4209 /* conv2d_22.w_0 */, + C2A753F0219EF62700DF4209 /* batch_norm_12.b_0 */, + C2A753F1219EF62700DF4209 /* depthwise_conv2d_2.w_0 */, + C2A753F2219EF62700DF4209 /* depthwise_conv2d_0.w_0 */, + C2A753F3219EF62700DF4209 /* batch_norm_10.b_0 */, + C2A753F4219EF62700DF4209 /* conv2d_20.w_0 */, + C2A753F5219EF62700DF4209 /* batch_norm_23.w_2 */, + C2A753F6219EF62700DF4209 /* batch_norm_22.w_2 */, + C2A753F7219EF62700DF4209 /* conv2d_21.w_0 */, + C2A753F8219EF62700DF4209 /* batch_norm_11.b_0 */, + C2A753F9219EF62700DF4209 /* depthwise_conv2d_1.w_0 */, + C2A753FA219EF62700DF4209 /* depthwise_conv2d_5.w_0 */, + C2A753FB219EF62700DF4209 /* batch_norm_8.w_0 */, + C2A753FC219EF62700DF4209 /* conv2d_25.w_0 */, + C2A753FD219EF62700DF4209 /* batch_norm_29.b_0 */, + C2A753FE219EF62700DF4209 /* conv2d_31.w_0 */, + C2A753FF219EF62700DF4209 /* conv2d_19.w_0 */, + C2A75400219EF62700DF4209 /* batch_norm_15.b_0 */, + C2A75401219EF62700DF4209 /* batch_norm_32.w_2 */, + C2A75402219EF62700DF4209 /* batch_norm_26.w_2 */, + C2A75403219EF62700DF4209 /* batch_norm_27.w_2 */, + C2A75404219EF62700DF4209 /* batch_norm_33.w_2 */, + C2A75405219EF62700DF4209 /* conv2d_18.w_0 */, + C2A75406219EF62700DF4209 /* batch_norm_14.b_0 */, + C2A75407219EF62700DF4209 /* conv2d_30.w_0 */, + C2A75408219EF62700DF4209 /* conv2d_24.w_0 */, + C2A75409219EF62700DF4209 /* batch_norm_28.b_0 */, + C2A7540A219EF62700DF4209 /* batch_norm_9.w_0 */, + C2A7540B219EF62700DF4209 /* depthwise_conv2d_4.w_0 */, + C2A7540C219EF62700DF4209 /* depthwise_conv2d_6.w_0 */, + C2A7540D219EF62700DF4209 /* conv2d_32.w_0 */, + C2A7540E219EF62700DF4209 /* conv2d_26.w_0 */, + C2A7540F219EF62700DF4209 /* batch_norm_16.b_0 */, + C2A75410219EF62700DF4209 /* batch_norm_19.w_2 */, + C2A75411219EF62700DF4209 /* batch_norm_25.w_2 */, + C2A75412219EF62700DF4209 /* batch_norm_31.w_2 */, + C2A75413219EF62700DF4209 /* batch_norm_8.w_1 */, + C2A75414219EF62700DF4209 /* batch_norm_9.w_1 */, + C2A75415219EF62700DF4209 /* batch_norm_30.w_2 */, + C2A75416219EF62700DF4209 /* batch_norm_24.w_2 */, + C2A75417219EF62700DF4209 /* batch_norm_18.w_2 */, + C2A75418219EF62700DF4209 /* batch_norm_17.b_0 */, + C2A75419219EF62700DF4209 /* conv2d_27.w_0 */, + C2A7541A219EF62700DF4209 /* conv2d_33.w_0 */, + C2A7541B219EF62700DF4209 /* depthwise_conv2d_7.w_0 */, + ); + path = mobilenetssd; + sourceTree = ""; + }; + C2A7541C219EF62700DF4209 /* fluid_fssd_new_ar */ = { + isa = PBXGroup; + children = ( + C2A7541D219EF62700DF4209 /* ar_model */, + C2A7541E219EF62700DF4209 /* ar_params */, + ); + path = fluid_fssd_new_ar; + sourceTree = ""; + }; + C2E339FA217EB80E0097FDD6 /* images */ = { + isa = PBXGroup; + children = ( + C2E339FB217EB80E0097FDD6 /* synset.txt */, + C2E339FC217EB80E0097FDD6 /* banana.jpeg */, + C2E339FD217EB80E0097FDD6 /* hand.jpg */, + C2E339FE217EB80E0097FDD6 /* iphone.JPG */, + C2E339FF217EB80E0097FDD6 /* paddle-mobile.png */, + ); + path = images; + sourceTree = ""; + }; FC039B7520E11C550081E9F8 = { isa = PBXGroup; children = ( @@ -133,8 +892,8 @@ FC039B8020E11C550081E9F8 /* paddle-mobile-demo */ = { isa = PBXGroup; children = ( - FCFE9B6F2152859500DECA15 /* models */, - FCFE9B622152858600DECA15 /* images */, + C2A75337219EF62700DF4209 /* models */, + C2E339FA217EB80E0097FDD6 /* images */, FC803BCA214D27920094B8E5 /* VideoCapture */, FC8CFED2213519540094D569 /* Net */, FC039B8120E11C550081E9F8 /* AppDelegate.swift */, @@ -169,48 +928,6 @@ path = Net; sourceTree = ""; }; - FCFE9B622152858600DECA15 /* images */ = { - isa = PBXGroup; - children = ( - FCFE9B632152858600DECA15 /* hand.jpg.zip */, - FCFE9B642152858600DECA15 /* synset.txt */, - FCFE9B652152858600DECA15 /* banana.jpeg */, - FCFE9B662152858600DECA15 /* hand.jpg */, - FCFE9B672152858600DECA15 /* iphone.JPG */, - FCFE9B682152858600DECA15 /* paddle-mobile.png */, - ); - name = images; - path = ../../images; - sourceTree = ""; - }; - FCFE9B6F2152859500DECA15 /* models */ = { - isa = PBXGroup; - children = ( - FCFE9B742152859500DECA15 /* genet */, - FCFE9C4B2152859500DECA15 /* fluid_fssd_new_ar */, - ); - name = models; - path = ../../models; - sourceTree = ""; - }; - FCFE9B742152859500DECA15 /* genet */ = { - isa = PBXGroup; - children = ( - FCFE9B752152859500DECA15 /* genet_params */, - FCFE9B762152859500DECA15 /* genet_model */, - ); - path = genet; - sourceTree = ""; - }; - FCFE9C4B2152859500DECA15 /* fluid_fssd_new_ar */ = { - isa = PBXGroup; - children = ( - FCFE9C4C2152859500DECA15 /* ar_model */, - FCFE9C4D2152859500DECA15 /* ar_params */, - ); - path = fluid_fssd_new_ar; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -273,19 +990,234 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - FCFE9D232152859600DECA15 /* ar_model in Resources */, + C2A754A5219EF62800DF4209 /* batch_norm_28.w_0 in Resources */, + C2A75435219EF62800DF4209 /* batch_norm_15.w_2 in Resources */, + C2A754B9219EF62800DF4209 /* batch_norm_13.w_1 in Resources */, + C2A75471219EF62800DF4209 /* batch_norm_20.w_0 in Resources */, + C2A754C1219EF62800DF4209 /* conv2d_0.w_0 in Resources */, + C2A754F0219EF62800DF4209 /* batch_norm_8.w_1 in Resources */, + C2A754BE219EF62800DF4209 /* conv2d_1.w_0 in Resources */, + C2A75463219EF62800DF4209 /* batch_norm_11.w_2 in Resources */, + C2A754F5219EF62800DF4209 /* batch_norm_17.b_0 in Resources */, + C2A75465219EF62800DF4209 /* conv2d_12.w_0 in Resources */, FC039B8C20E11C560081E9F8 /* LaunchScreen.storyboard in Resources */, - FCFE9C522152859600DECA15 /* genet_model in Resources */, - FCFE9D242152859600DECA15 /* ar_params in Resources */, - FCFE9B6E2152858600DECA15 /* paddle-mobile.png in Resources */, - FCFE9C512152859600DECA15 /* genet_params in Resources */, - FCFE9B692152858600DECA15 /* hand.jpg.zip in Resources */, + C2A75494219EF62800DF4209 /* batch_norm_14.w_1 in Resources */, + C2A7547E219EF62800DF4209 /* batch_norm_31.w_0 in Resources */, + C2A75440219EF62800DF4209 /* depthwise_conv2d_9.w_0 in Resources */, + C2A754CC219EF62800DF4209 /* conv2d_22.w_0 in Resources */, + C2A754E7219EF62800DF4209 /* batch_norm_9.w_0 in Resources */, + C2A75438219EF62800DF4209 /* batch_norm_5.w_1 in Resources */, + C2A75481219EF62800DF4209 /* batch_norm_32.w_1 in Resources */, + C2A75424219EF62800DF4209 /* yolo_model in Resources */, + C2A7549D219EF62800DF4209 /* batch_norm_16.w_0 in Resources */, + C2A754D3219EF62800DF4209 /* batch_norm_22.w_2 in Resources */, + C2A754F6219EF62800DF4209 /* conv2d_27.w_0 in Resources */, + C2A75476219EF62800DF4209 /* batch_norm_33.w_1 in Resources */, + C2A754AB219EF62800DF4209 /* conv2d_6.w_0 in Resources */, + C2A75452219EF62800DF4209 /* batch_norm_1.w_0 in Resources */, + C2A7544C219EF62800DF4209 /* batch_norm_18.b_0 in Resources */, + C2A75461219EF62800DF4209 /* batch_norm_1.w_1 in Resources */, + C2A75428219EF62800DF4209 /* superresoltion_model in Resources */, + C2A7545E219EF62800DF4209 /* conv2d_13.w_0 in Resources */, + C2E33ADF217EB80E0097FDD6 /* banana.jpeg in Resources */, + C2A7541F219EF62800DF4209 /* params in Resources */, + C2A75468219EF62800DF4209 /* batch_norm_3.b_0 in Resources */, + C2A75469219EF62800DF4209 /* batch_norm_22.w_0 in Resources */, + C2A75425219EF62800DF4209 /* genet_params in Resources */, + C2A754B0219EF62800DF4209 /* batch_norm_16.w_1 in Resources */, + C2A754AE219EF62800DF4209 /* batch_norm_7.w_2 in Resources */, + C2A754F2219EF62800DF4209 /* batch_norm_30.w_2 in Resources */, + C2A7543D219EF62800DF4209 /* batch_norm_27.b_0 in Resources */, + C2A7547C219EF62800DF4209 /* batch_norm_25.w_0 in Resources */, + C2A754D5219EF62800DF4209 /* batch_norm_11.b_0 in Resources */, + C2A75483219EF62800DF4209 /* batch_norm_30.w_1 in Resources */, + C2A754B6219EF62800DF4209 /* conv2d_3.w_0 in Resources */, + C2A75437219EF62800DF4209 /* batch_norm_4.w_1 in Resources */, + C2A754E5219EF62800DF4209 /* conv2d_24.w_0 in Resources */, + C2A75473219EF62800DF4209 /* batch_norm_1.b_0 in Resources */, + C2A754A6219EF62800DF4209 /* conv2d_24.b_0 in Resources */, + C2A7545F219EF62800DF4209 /* batch_norm_23.b_0 in Resources */, + C2A75482219EF62800DF4209 /* batch_norm_26.w_1 in Resources */, + C2A75427219EF62800DF4209 /* superresoltion_params in Resources */, + C2A7542E219EF62800DF4209 /* yolo in Resources */, + C2A75445219EF62800DF4209 /* batch_norm_19.b_0 in Resources */, + C2A75464219EF62800DF4209 /* batch_norm_22.b_0 in Resources */, + C2A754EF219EF62800DF4209 /* batch_norm_31.w_2 in Resources */, + C2A754F7219EF62800DF4209 /* conv2d_33.w_0 in Resources */, + C2A75421219EF62800DF4209 /* combined_mobilenet_params in Resources */, + C2A754C7219EF62800DF4209 /* batch_norm_13.b_0 in Resources */, + C2A75487219EF62800DF4209 /* batch_norm_9.w_2 in Resources */, + C2A75454219EF62800DF4209 /* batch_norm_34.b_0 in Resources */, + C2A754AF219EF62800DF4209 /* batch_norm_8.b_0 in Resources */, + C2A75480219EF62800DF4209 /* batch_norm_4.b_0 in Resources */, + C2A75479219EF62800DF4209 /* batch_norm_30.w_0 in Resources */, + C2A75470219EF62800DF4209 /* batch_norm_21.w_0 in Resources */, FC039B8920E11C560081E9F8 /* Assets.xcassets in Resources */, - FCFE9B6A2152858600DECA15 /* synset.txt in Resources */, - FCFE9B6B2152858600DECA15 /* banana.jpeg in Resources */, - FCFE9B6D2152858600DECA15 /* iphone.JPG in Resources */, - FCFE9B6C2152858600DECA15 /* hand.jpg in Resources */, + C2A7549A219EF62800DF4209 /* conv2d_5.w_0 in Resources */, + C2A7542F219EF62800DF4209 /* params in Resources */, + C2A754F4219EF62800DF4209 /* batch_norm_18.w_2 in Resources */, + C2A75496219EF62800DF4209 /* batch_norm_17.w_0 in Resources */, + C2A754D4219EF62800DF4209 /* conv2d_21.w_0 in Resources */, + C2E33AE2217EB80E0097FDD6 /* paddle-mobile.png in Resources */, + C2A754D8219EF62800DF4209 /* batch_norm_8.w_0 in Resources */, + C2A75447219EF62800DF4209 /* __model__ in Resources */, + C2A75432219EF62800DF4209 /* batch_norm_26.b_0 in Resources */, + C2A7547D219EF62800DF4209 /* conv2d_29.b_0 in Resources */, + C2A75436219EF62800DF4209 /* batch_norm_29.w_2 in Resources */, + C2A75497219EF62800DF4209 /* conv2d_33.b_0 in Resources */, + C2A754B5219EF62800DF4209 /* batch_norm_10.w_0 in Resources */, + C2A75493219EF62800DF4209 /* batch_norm_28.w_1 in Resources */, + C2A754A3219EF62800DF4209 /* batch_norm_6.w_2 in Resources */, + C2A754CB219EF62800DF4209 /* batch_norm_21.w_2 in Resources */, + C2E33AE1217EB80E0097FDD6 /* iphone.JPG in Resources */, + C2A754A7219EF62800DF4209 /* conv2d_7.w_0 in Resources */, + C2A754B7219EF62800DF4209 /* batch_norm_2.w_2 in Resources */, + C2A75450219EF62800DF4209 /* depthwise_conv2d_8.w_0 in Resources */, + C2A754ED219EF62800DF4209 /* batch_norm_19.w_2 in Resources */, + C2A75477219EF62800DF4209 /* batch_norm_5.b_0 in Resources */, + C2A754C6219EF62800DF4209 /* depthwise_conv2d_3.w_0 in Resources */, + C2A7542B219EF62800DF4209 /* mobilenet in Resources */, + C2A754C5219EF62800DF4209 /* depthwise_conv2d_11.w_0 in Resources */, + C2A7544A219EF62800DF4209 /* batch_norm_17.w_2 in Resources */, + C2A754E4219EF62800DF4209 /* conv2d_30.w_0 in Resources */, + C2A754AA219EF62800DF4209 /* batch_norm_29.w_0 in Resources */, + C2A754C4219EF62800DF4209 /* batch_norm_10.w_1 in Resources */, + C2A754AC219EF62800DF4209 /* conv2d_25.b_0 in Resources */, + C2A75490219EF62800DF4209 /* batch_norm_19.w_1 in Resources */, + C2A754F8219EF62800DF4209 /* depthwise_conv2d_7.w_0 in Resources */, + C2A754D6219EF62800DF4209 /* depthwise_conv2d_1.w_0 in Resources */, + C2A754B1219EF62800DF4209 /* batch_norm_12.w_1 in Resources */, + C2A75495219EF62800DF4209 /* batch_norm_5.w_2 in Resources */, + C2A75458219EF62800DF4209 /* batch_norm_3.w_1 in Resources */, + C2A7549C219EF62800DF4209 /* conv2d_32.b_0 in Resources */, + C2A754E8219EF62800DF4209 /* depthwise_conv2d_4.w_0 in Resources */, + C2A7548A219EF62800DF4209 /* batch_norm_33.w_0 in Resources */, + C2A75491219EF62800DF4209 /* batch_norm_25.w_1 in Resources */, + C2A75466219EF62800DF4209 /* batch_norm_3.w_0 in Resources */, + C2A75474219EF62800DF4209 /* batch_norm_23.w_1 in Resources */, + C2A7546A219EF62800DF4209 /* batch_norm_23.w_0 in Resources */, + C2A754E3219EF62800DF4209 /* batch_norm_14.b_0 in Resources */, + C2A75429219EF62800DF4209 /* ssd_hand_params in Resources */, + C2A754D7219EF62800DF4209 /* depthwise_conv2d_5.w_0 in Resources */, + C2A754B3219EF62800DF4209 /* conv2d_2.w_0 in Resources */, + C2A7547F219EF62800DF4209 /* batch_norm_19.w_0 in Resources */, + C2A75455219EF62800DF4209 /* batch_norm_20.b_0 in Resources */, + C2A754BC219EF62800DF4209 /* batch_norm_0.w_2 in Resources */, + C2A754BF219EF62800DF4209 /* batch_norm_12.w_0 in Resources */, + C2A7547B219EF62800DF4209 /* conv2d_28.b_0 in Resources */, + C2A7545D219EF62800DF4209 /* batch_norm_2.w_0 in Resources */, + C2A754D1219EF62800DF4209 /* conv2d_20.w_0 in Resources */, + C2A75472219EF62800DF4209 /* batch_norm_34.w_0 in Resources */, + C2A754DF219EF62800DF4209 /* batch_norm_26.w_2 in Resources */, + C2A754D9219EF62800DF4209 /* conv2d_25.w_0 in Resources */, + C2A7543A219EF62800DF4209 /* batch_norm_14.w_2 in Resources */, + C2A75488219EF62800DF4209 /* conv2d_8.w_0 in Resources */, + C2A75422219EF62800DF4209 /* combined_mobilenet_model in Resources */, + C2A75441219EF62800DF4209 /* batch_norm_31.b_0 in Resources */, + C2A75446219EF62800DF4209 /* batch_norm_16.w_2 in Resources */, + C2A754E9219EF62800DF4209 /* depthwise_conv2d_6.w_0 in Resources */, + C2A7545B219EF62800DF4209 /* conv2d_11.w_0 in Resources */, + C2A754F9219EF62800DF4209 /* ar_model in Resources */, + C2A7547A219EF62800DF4209 /* batch_norm_24.w_0 in Resources */, + C2A7548D219EF62800DF4209 /* batch_norm_26.w_0 in Resources */, + C2A754B4219EF62800DF4209 /* batch_norm_11.w_0 in Resources */, + C2A7545A219EF62800DF4209 /* batch_norm_21.b_0 in Resources */, + C2A75434219EF62800DF4209 /* conv2d_16.w_0 in Resources */, + C2A75444219EF62800DF4209 /* conv2d_15.w_0 in Resources */, + C2A754E0219EF62800DF4209 /* batch_norm_27.w_2 in Resources */, + C2A75492219EF62800DF4209 /* batch_norm_31.w_1 in Resources */, + C2A754BA219EF62800DF4209 /* batch_norm_11.w_1 in Resources */, + C2A754DA219EF62800DF4209 /* batch_norm_29.b_0 in Resources */, + C2A7546D219EF62800DF4209 /* batch_norm_34.w_1 in Resources */, + C2A7549F219EF62800DF4209 /* batch_norm_15.w_1 in Resources */, + C2A754E1219EF62800DF4209 /* batch_norm_33.w_2 in Resources */, + C2A7543F219EF62800DF4209 /* batch_norm_4.w_0 in Resources */, + C2A7545C219EF62800DF4209 /* batch_norm_0.w_0 in Resources */, + C2A75499219EF62800DF4209 /* conv2d_4.w_0 in Resources */, + C2A75459219EF62800DF4209 /* batch_norm_12.w_2 in Resources */, + C2A754A0219EF62800DF4209 /* batch_norm_29.w_1 in Resources */, + C2A7543B219EF62800DF4209 /* conv2d_17.w_0 in Resources */, + C2A754A4219EF62800DF4209 /* batch_norm_14.w_0 in Resources */, + C2A7544E219EF62800DF4209 /* batch_norm_24.b_0 in Resources */, + C2A7546F219EF62800DF4209 /* batch_norm_0.b_0 in Resources */, + C2A754B2219EF62800DF4209 /* batch_norm_3.w_2 in Resources */, + C2A754AD219EF62800DF4209 /* batch_norm_15.w_0 in Resources */, + C2A754A8219EF62800DF4209 /* conv2d_30.b_0 in Resources */, + C2A75456219EF62800DF4209 /* batch_norm_13.w_2 in Resources */, + C2A75498219EF62800DF4209 /* conv2d_27.b_0 in Resources */, + C2A7544F219EF62800DF4209 /* batch_norm_30.b_0 in Resources */, + C2A7543C219EF62800DF4209 /* batch_norm_33.b_0 in Resources */, + C2A75420219EF62800DF4209 /* model in Resources */, + C2A7548F219EF62800DF4209 /* batch_norm_7.b_0 in Resources */, + C2A754CE219EF62800DF4209 /* depthwise_conv2d_2.w_0 in Resources */, + C2A754C8219EF62800DF4209 /* conv2d_23.w_0 in Resources */, + C2A7542A219EF62800DF4209 /* ssd_hand_model in Resources */, + C2A75485219EF62800DF4209 /* batch_norm_18.w_1 in Resources */, + C2A75486219EF62800DF4209 /* batch_norm_6.b_0 in Resources */, + C2A754A1219EF62800DF4209 /* batch_norm_17.w_1 in Resources */, + C2A75475219EF62800DF4209 /* batch_norm_27.w_1 in Resources */, + C2A7549B219EF62800DF4209 /* conv2d_26.b_0 in Resources */, + C2A75442219EF62800DF4209 /* conv2d_29.w_0 in Resources */, + C2A754C2219EF62800DF4209 /* conv2d_23.b_0 in Resources */, + C2A7546E219EF62800DF4209 /* batch_norm_22.w_1 in Resources */, + C2A7548C219EF62800DF4209 /* conv2d_9.w_0 in Resources */, + C2A754BB219EF62800DF4209 /* depthwise_conv2d_10.w_0 in Resources */, + C2A75433219EF62800DF4209 /* batch_norm_32.b_0 in Resources */, + C2A75453219EF62800DF4209 /* conv2d_10.w_0 in Resources */, + C2A754A9219EF62800DF4209 /* conv2d_31.b_0 in Resources */, + C2A754EA219EF62800DF4209 /* conv2d_32.w_0 in Resources */, + C2A754C3219EF62800DF4209 /* batch_norm_1.w_2 in Resources */, + C2A75457219EF62800DF4209 /* batch_norm_2.w_1 in Resources */, + C2A754CA219EF62800DF4209 /* batch_norm_34.w_2 in Resources */, + C2A754EE219EF62800DF4209 /* batch_norm_25.w_2 in Resources */, + C2A75462219EF62800DF4209 /* batch_norm_0.w_1 in Resources */, + C2A754DE219EF62800DF4209 /* batch_norm_32.w_2 in Resources */, + C2A754BD219EF62800DF4209 /* conv2d_22.b_0 in Resources */, + C2A754A2219EF62800DF4209 /* batch_norm_9.b_0 in Resources */, + C2A75430219EF62800DF4209 /* model in Resources */, + C2A7549E219EF62800DF4209 /* batch_norm_4.w_2 in Resources */, + C2A754C9219EF62800DF4209 /* batch_norm_20.w_2 in Resources */, + C2A754FA219EF62800DF4209 /* ar_params in Resources */, + C2A754EB219EF62800DF4209 /* conv2d_26.w_0 in Resources */, + C2A754CF219EF62800DF4209 /* depthwise_conv2d_0.w_0 in Resources */, + C2A75484219EF62800DF4209 /* batch_norm_24.w_1 in Resources */, + C2A7543E219EF62800DF4209 /* batch_norm_6.w_0 in Resources */, + C2A75489219EF62800DF4209 /* batch_norm_27.w_0 in Resources */, + C2A754EC219EF62800DF4209 /* batch_norm_16.b_0 in Resources */, + C2A754B8219EF62800DF4209 /* depthwise_conv2d_12.w_0 in Resources */, + C2A754D0219EF62800DF4209 /* batch_norm_10.b_0 in Resources */, + C2E33ADE217EB80E0097FDD6 /* synset.txt in Resources */, + C2A75431219EF62800DF4209 /* batch_norm_7.w_0 in Resources */, + C2A754F1219EF62800DF4209 /* batch_norm_9.w_1 in Resources */, + C2A75439219EF62800DF4209 /* batch_norm_28.w_2 in Resources */, + C2A75448219EF62800DF4209 /* batch_norm_7.w_1 in Resources */, + C2A75478219EF62800DF4209 /* batch_norm_18.w_0 in Resources */, + C2A75423219EF62800DF4209 /* yolo_params in Resources */, + C2A7542C219EF62800DF4209 /* params in Resources */, + C2E33AE0217EB80E0097FDD6 /* hand.jpg in Resources */, + C2A754DD219EF62800DF4209 /* batch_norm_15.b_0 in Resources */, + C2A7548B219EF62800DF4209 /* batch_norm_32.w_0 in Resources */, + C2A754E2219EF62800DF4209 /* conv2d_18.w_0 in Resources */, + C2A754D2219EF62800DF4209 /* batch_norm_23.w_2 in Resources */, + C2A7544D219EF62800DF4209 /* conv2d_28.w_0 in Resources */, + C2A754C0219EF62800DF4209 /* batch_norm_13.w_0 in Resources */, + C2A75443219EF62800DF4209 /* batch_norm_25.b_0 in Resources */, + C2A7542D219EF62800DF4209 /* model in Resources */, + C2A75426219EF62800DF4209 /* genet_model in Resources */, + C2A754CD219EF62800DF4209 /* batch_norm_12.b_0 in Resources */, + C2A7546C219EF62800DF4209 /* batch_norm_20.w_1 in Resources */, + C2A754DC219EF62800DF4209 /* conv2d_19.w_0 in Resources */, + C2A754E6219EF62800DF4209 /* batch_norm_28.b_0 in Resources */, + C2A75449219EF62800DF4209 /* batch_norm_6.w_1 in Resources */, FC039B8720E11C550081E9F8 /* Main.storyboard in Resources */, + C2A7548E219EF62800DF4209 /* batch_norm_8.w_2 in Resources */, + C2A75467219EF62800DF4209 /* batch_norm_21.w_1 in Resources */, + C2A754DB219EF62800DF4209 /* conv2d_31.w_0 in Resources */, + C2A754F3219EF62800DF4209 /* batch_norm_24.w_2 in Resources */, + C2A75451219EF62800DF4209 /* batch_norm_5.w_0 in Resources */, + C2A7546B219EF62800DF4209 /* batch_norm_2.b_0 in Resources */, + C2A75460219EF62800DF4209 /* batch_norm_10.w_2 in Resources */, + C2A7544B219EF62800DF4209 /* conv2d_14.w_0 in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -490,7 +1422,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = A798K58VVL; + DEVELOPMENT_TEAM = 6K8JTBT3MF; ENABLE_BITCODE = NO; INFOPLIST_FILE = "paddle-mobile-demo/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; @@ -517,7 +1449,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = A798K58VVL; + DEVELOPMENT_TEAM = 6K8JTBT3MF; ENABLE_BITCODE = NO; INFOPLIST_FILE = "paddle-mobile-demo/Info.plist"; IPHONEOS_DEPLOYMENT_TARGET = 9.0; diff --git a/metal/paddle-mobile-demo/paddle-mobile-demo/Net/MetalHelper.swift b/metal/paddle-mobile-demo/paddle-mobile-demo/Net/MetalHelper.swift index d314e8b3f8845ef95b36b4b25e61809d353f0f24..a4a2b3488bf5a7da419ab68f12166cf96792d390 100644 --- a/metal/paddle-mobile-demo/paddle-mobile-demo/Net/MetalHelper.swift +++ b/metal/paddle-mobile-demo/paddle-mobile-demo/Net/MetalHelper.swift @@ -17,7 +17,7 @@ import MetalKit import Foundation import paddle_mobile -class MetalHelper { +public class MetalHelper { let device: MTLDevice let queue: MTLCommandQueue let textureLoader: MTKTextureLoader diff --git a/metal/paddle-mobile-demo/paddle-mobile-demo/ViewController.swift b/metal/paddle-mobile-demo/paddle-mobile-demo/ViewController.swift index 1c6d0a91c9bf1d202091282e43859270a238edaa..64a553f98ff15c47933bcbb79b867daeef9b43f8 100644 --- a/metal/paddle-mobile-demo/paddle-mobile-demo/ViewController.swift +++ b/metal/paddle-mobile-demo/paddle-mobile-demo/ViewController.swift @@ -23,23 +23,23 @@ let threadSupport: [(Platform, String)] = [(.GPU, "GPU"), (.CPU, "CPU")] //.mobilenet_ssd : Runner.init(inNet: MobileNet_ssd_hand.init(device: MetalHelper.shared.device), commandQueue: MetalHelper.shared.queue, inPlatform: platform), let modelHelperMap: [SupportModel : Runner] = [ - .genet : Runner.init(inNet: Genet.init(device: MetalHelper.shared.device), commandQueue: MetalHelper.shared.queue, inPlatform: platform), - .mobilenet_ssd_ar : Runner.init(inNet: MobileNet_ssd_AR.init(device: MetalHelper.shared.device), commandQueue: MetalHelper.shared.queue, inPlatform: platform)] + .yolo : Runner.init(inNet: YoloNet.init(device: MetalHelper.shared.device), commandQueue: MetalHelper.shared.queue, inPlatform: platform), + .mobilenet_combined : Runner.init(inNet: MobileNetCombined.init(device: MetalHelper.shared.device), commandQueue: MetalHelper.shared.queue, inPlatform: platform)] //, .genet : Genet.init() //let modelHelperMap: [SupportModel : Net] = [.mobilenet : MobileNet.init(), .mobilenet_ssd : MobileNet_ssd_hand.init()] -let netSupport: [SupportModel : Net] = [.genet : Genet.init(device: MetalHelper.shared.device), .mobilenet_ssd_ar : MobileNet_ssd_AR.init(device: MetalHelper.shared.device)] +let netSupport: [SupportModel : Net] = [.yolo : YoloNet.init(device: MetalHelper.shared.device), .mobilenet_combined : MobileNetCombined.init(device: MetalHelper.shared.device)] enum SupportModel: String{ // case mobilenet = "mobilenet" // case mobilenet_ssd = "mobilenetssd" - case genet = "genet" - case mobilenet_ssd_ar = "mobilenetssd_ar" + case yolo = "yolo" + case mobilenet_combined = "mobilenet_combined" static func supportedModels() -> [SupportModel] { // .mobilenet, // .mobilenet_ssd, - return [.genet, .mobilenet_ssd_ar] + return [.yolo, .mobilenet_combined] } } @@ -98,7 +98,7 @@ class ViewController: UIViewController { } @IBAction func predictAct(_ sender: Any) { - let max = 50 + let max = 1 switch platform { case .GPU: guard let inTexture = toPredictTexture else { @@ -106,11 +106,11 @@ class ViewController: UIViewController { return } - for _ in 0..<10{ - runner.predict(texture: inTexture) { (success, resultHolder) in - resultHolder?.releasePointer() - } - } +// for _ in 0..<1{ +// runner.predict(texture: inTexture) { (success, resultHolder) in +// resultHolder?.releasePointer() +// } +// } let startDate = Date.init() for i in 0.. String { + // fatalError() + return " \(res.result![0]) ... " + } + +} diff --git a/metal/paddle-mobile/paddle-mobile/Net.swift b/metal/paddle-mobile/paddle-mobile/Net.swift index ce9ec98a66e685eec3a688a5a29402a76567b0e2..994eb709fcc3e38ab35e5af0cfd7e35bc60835d7 100644 --- a/metal/paddle-mobile/paddle-mobile/Net.swift +++ b/metal/paddle-mobile/paddle-mobile/Net.swift @@ -14,6 +14,7 @@ import Foundation +import Metal public class ResultHolder: NSObject { @objc public let result: UnsafeMutablePointer? diff --git a/metal/paddle-mobile/paddle-mobile/Operators/Base/OpCreator.swift b/metal/paddle-mobile/paddle-mobile/Operators/Base/OpCreator.swift index 9806042e9eb339d6d15f2cbfebe924b548d29922..ce9146b7407558e87abe86102cd6fd1f19a6f4fb 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/Base/OpCreator.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/Base/OpCreator.swift @@ -67,7 +67,8 @@ class OpCreator { gFlatten : FlattenOp

.creat, gConvAddPreluType : ConvAddPreluOp

.creat, gConvAddAddPreluType : ConvAddAddPreluOp

.creat, - gElementwiseAddPreluType: ElementwiseAddPreluOp

.creat] + gElementwiseAddPreluType : ElementwiseAddPreluOp

.creat, + gFusionConvAddType : ConvAddOp

.creat] private init(){} } diff --git a/metal/paddle-mobile/paddle-mobile/Operators/Base/OpParam.swift b/metal/paddle-mobile/paddle-mobile/Operators/Base/OpParam.swift index 9f868e35864d59be5711c4ac0a02787638eeae8f..b0ac4c231a6d1ad8473eddb1109df1eabb0c59a7 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/Base/OpParam.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/Base/OpParam.swift @@ -26,7 +26,7 @@ protocol OpParam { var output: OutputType { get set } func outputDesc() -> String - associatedtype ParamPrecisionType: PrecisionType + //associatedtype ParamPrecisionType: PrecisionType init(opDesc: OpDesc, inScope: Scope) throws static func getFirstTensor(key: String, map: [String : [String]], from: Scope) throws -> VarType static func inputX(inputs: [String : [String]], from: Scope) throws -> VarType diff --git a/metal/paddle-mobile/paddle-mobile/Operators/Base/Operator.swift b/metal/paddle-mobile/paddle-mobile/Operators/Base/Operator.swift index 40698da5ecb047dbf557cea18556616020ee9750..c7e8a6366db844ea481396cb098fcc56694e6319 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/Base/Operator.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/Base/Operator.swift @@ -158,7 +158,8 @@ let gShape = "shape" let gFlatten = "flatten" let gConvAddPreluType = "conv_add_prelu" let gConvAddAddPreluType = "conv_add_add_prelu" -let gElementwiseAddPreluType = "elementwise_add_prelu" +let gElementwiseAddPreluType = "elementwise_add_prelu" +let gFusionConvAddType = "fusion_conv_add" let opInfos = [gConvType : (inputs: ["Input"], outputs: ["Output"]), @@ -188,5 +189,6 @@ let opInfos = [gConvType : (inputs: ["Input"], outputs: ["Out gFlatten : (inputs: ["X"], outputs: ["Out"]), gConvAddPreluType : (inputs: ["Input"], outputs: ["Out"]), gConvAddAddPreluType : (inputs: ["Input"], outputs: ["Out"]), - gElementwiseAddPreluType : (inputs: ["X"], outputs: ["Out"]) + gElementwiseAddPreluType : (inputs: ["X"], outputs: ["Out"]), + gFusionConvAddType : (inputs: ["Input"], outputs: ["Out"]) ] diff --git a/metal/paddle-mobile/paddle-mobile/Operators/BatchNormOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/BatchNormOp.swift index 9fc20f8a597d39d3b628c5e1033f9c5cceac45ed..ad8eef3cd5865d7ad6d4ae7c3a218f4a05205883 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/BatchNormOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/BatchNormOp.swift @@ -13,9 +13,10 @@ limitations under the License. */ import Foundation +import Metal class BatchNormParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try BatchNormParam.inputX(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/BilinearInterpOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/BilinearInterpOp.swift index 8db64ac3a473fe59e7821f11abeb3437c337459d..5ba66217e34b2f591e520b9b7ea8d2ff762a01d7 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/BilinearInterpOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/BilinearInterpOp.swift @@ -13,9 +13,10 @@ limitations under the License. */ import Foundation +import Metal class BilinearInterpParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try BilinearInterpParam.inputX(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/BoxcoderOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/BoxcoderOp.swift index 0e1d5f0c53128bbc2f0b5e94d2075eecdef0fcc6..ad7530d73de6bdc81d5c63677c69d13542c9578a 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/BoxcoderOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/BoxcoderOp.swift @@ -15,7 +15,7 @@ import Foundation class BoxcoderParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { priorBox = try BoxcoderParam.getFirstTensor(key: "PriorBox", map: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ConcatOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ConcatOp.swift index d5320136190bb1b7af124b762b719921c1d25200..cbf4c66285be6865c2f5012bc7cc0f9063f50575 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ConcatOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ConcatOp.swift @@ -15,7 +15,7 @@ import Foundation class ConcatParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { guard let xlist = opDesc.inputs["X"] else { diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ConvAddAddPreluOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ConvAddAddPreluOp.swift index e5bded65a1a8944d337fea65995af79cab580105..859b60238ef6c7b1b7de36422f1bae4517d6096b 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ConvAddAddPreluOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ConvAddAddPreluOp.swift @@ -13,9 +13,10 @@ limitations under the License. */ import Foundation +import Metal class ConvAddAddPreluParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { filter = try ConvAddAddPreluParam.inputFilter(paraInputs: opDesc.paraInputs, from: inScope) @@ -34,8 +35,8 @@ class ConvAddAddPreluParam: OpParam { } let input: Texture

- let y: Tensor - let filter: Tensor + let y: Tensor

+ let filter: Tensor

let mode: String let alpha: Tensor

var output: Texture

diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ConvAddBatchNormReluOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ConvAddBatchNormReluOp.swift index 43935b65d1442d7c2e1ca3db49168140569c433f..4becb1d13aace70b0662c4f85f8f37284e5abe93 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ConvAddBatchNormReluOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ConvAddBatchNormReluOp.swift @@ -16,7 +16,7 @@ import Foundation class ConvAddBatchNormReluParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { @@ -42,12 +42,12 @@ class ConvAddBatchNormReluParam: OpParam { let input: Texture

- let variance: Tensor - let bias: Tensor - let mean: Tensor - let scale: Tensor - let y: Tensor - let filter: Tensor + let variance: Tensor

+ let bias: Tensor

+ let mean: Tensor

+ let scale: Tensor

+ let y: Tensor

+ let filter: Tensor

let epsilon: Float32 var newScale: MTLBuffer? var newBiase: MTLBuffer? diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ConvAddOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ConvAddOp.swift index 5e184844d886beb19ac5ff297f8a270af8a076fa..0fd543ede463edaa16edf563e66aaebf83e765a1 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ConvAddOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ConvAddOp.swift @@ -15,7 +15,7 @@ import Foundation class ConvAddParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { filter = try ConvAddParam.inputFilter(paraInputs: opDesc.paraInputs, from: inScope) @@ -33,8 +33,8 @@ class ConvAddParam: OpParam { } let input: Texture

- let y: Tensor - let filter: Tensor + let y: Tensor

+ let filter: Tensor

var output: Texture

let stride: [Int32] diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ConvAddPreluOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ConvAddPreluOp.swift index 0a0fcc7d7934e1c3c7a48f6925105b02ec6d8fc9..23652374d97e1e2a722f8ea38f0020a3882dbce1 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ConvAddPreluOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ConvAddPreluOp.swift @@ -15,7 +15,7 @@ import Foundation class ConvAddPreluParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { filter = try ConvAddPreluParam.inputFilter(paraInputs: opDesc.paraInputs, from: inScope) @@ -34,8 +34,8 @@ class ConvAddPreluParam: OpParam { } let input: Texture

- let y: Tensor - let filter: Tensor + let y: Tensor

+ let filter: Tensor

let mode: String let alpha: Tensor

var output: Texture

diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ConvBNReluOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ConvBNReluOp.swift index 959fe44b98dabec2b39fdfdb438d482d720caa61..f090ab1e73a10125cfe676ed4788142ea2f73039 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ConvBNReluOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ConvBNReluOp.swift @@ -15,7 +15,7 @@ import Foundation class ConvBNReluParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { filter = try ConvBNReluParam.inputFilter(paraInputs: opDesc.paraInputs, from: inScope) @@ -38,11 +38,11 @@ class ConvBNReluParam: OpParam { let input: Texture

- let variance: Tensor - let bias: Tensor - let mean: Tensor - let scale: Tensor - let filter: Tensor + let variance: Tensor

+ let bias: Tensor

+ let mean: Tensor

+ let scale: Tensor

+ let filter: Tensor

let epsilon: Float32 var newScale: MTLBuffer? var newBiase: MTLBuffer? diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ConvOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ConvOp.swift index e82eb1f4753f0ebfdb5a949c85181a0ae52ea2da..ba3ff7fad477cad2914c851b1a34a67f0f839b77 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ConvOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ConvOp.swift @@ -15,7 +15,7 @@ import Foundation class ConvParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { filter = try ConvParam.inputFilter(paraInputs: opDesc.paraInputs, from: inScope) @@ -32,7 +32,7 @@ class ConvParam: OpParam { } let input: Texture

- let filter: Tensor + let filter: Tensor

var output: Texture

let stride: [Int32] let paddings: [Int32] diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ConvTransposeOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ConvTransposeOp.swift index 9ec6f7bd60260b5808e469129e9c292ff9837f7c..d4bd4140e5097f77fd5bc295a940a8df800a7258 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ConvTransposeOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ConvTransposeOp.swift @@ -15,8 +15,8 @@ import Foundation class ConvTransposeParam: ConvParam

{ - typealias ParamPrecisionType = P - required init(opDesc: OpDesc, inScope: Scope) throws { + //typealias ParamPrecisionType = P + required init(opDesc: OpDesc, inScope: Scope) throws { do { try super.init(opDesc: opDesc, inScope: inScope) } catch let error { diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ElementwiseAddOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ElementwiseAddOp.swift index ae040dd65f74fc222275bc579338107f2ea188fd..f27a3e5d545c81bbec0493a160a70c70d402c7a3 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ElementwiseAddOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ElementwiseAddOp.swift @@ -13,9 +13,10 @@ // limitations under the License. */ import Foundation +import Metal class ElementwiseAddParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { inputX = try ElementwiseAddParam.inputX(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ElementwiseAddPreluOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ElementwiseAddPreluOp.swift index 333303e9bb7c1224ff50d69b5523edabe0fc81a6..1b11cc156ea843e61cc762f0cbe8afc453bd0dbf 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ElementwiseAddPreluOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ElementwiseAddPreluOp.swift @@ -13,9 +13,10 @@ limitations under the License. */ import Foundation +import Metal class ElementwiseAddPreluParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { alpha = try ElementwiseAddPreluParam.paramInputAlpha(inputs: opDesc.paraInputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/FeedOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/FeedOp.swift index 382ea58b844b25bb855ed7cdc155a860bca45da5..20775015a098b6e4c4008eb88da39cf5f4e30567 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/FeedOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/FeedOp.swift @@ -13,6 +13,8 @@ limitations under the License. */ import Foundation +import MetalKit +import CoreMedia class FeedParam: OpParam{ var output: Texture

@@ -30,7 +32,7 @@ class FeedParam: OpParam{ } } - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P } class FeedOp: Operator, FeedParam

>, Runable, Creator, InferShaperable { diff --git a/metal/paddle-mobile/paddle-mobile/Operators/FetchOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/FetchOp.swift index ade5b09099b69f4784b33a3b108cfcfe1aa1ea7f..332659317232186270afe9d6e393fb877c08eec4 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/FetchOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/FetchOp.swift @@ -13,6 +13,7 @@ limitations under the License. */ import Foundation +import Metal class FetchParam: OpParam{ var output: FetchHolder @@ -29,7 +30,7 @@ class FetchParam: OpParam{ } } - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P } class FetchKernel: Kernel, Computable { diff --git a/metal/paddle-mobile/paddle-mobile/Operators/FlattenOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/FlattenOp.swift index 4fc5f222932ce98c4bf3e29bdf6cd8c666f5f9f1..f881684d792f73f975f98bdf0a2a9bf83630dd5f 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/FlattenOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/FlattenOp.swift @@ -15,7 +15,7 @@ import Foundation class FlattenParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try FlattenParam.inputX(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ConcatKernel.swift b/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ConcatKernel.swift index 81ef46c0b3e919615d07f667851007e95b02d54f..4f10d35c836eb59106b4ae44e1e0716ffa3d6d23 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ConcatKernel.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ConcatKernel.swift @@ -13,6 +13,7 @@ limitations under the License. */ import Foundation +import Metal struct ConcatTestParam: TestParam { var input: [MTLTexture] diff --git a/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ConvAddBatchNormReluKernel.swift b/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ConvAddBatchNormReluKernel.swift index 66324dd47086fd7c1ccffb674c0f8b8623416e0d..c8ebb7d941e14615385214d725a6b4c4e7e97e10 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ConvAddBatchNormReluKernel.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ConvAddBatchNormReluKernel.swift @@ -13,6 +13,7 @@ limitations under the License. */ import Foundation +import Metal struct ConvAddBatchNormReluTestParam: TestParam { let inputTexture: MTLTexture diff --git a/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ShapeKernel.swift b/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ShapeKernel.swift index feb052a44fdc7c6134cc90f07f3fc94ad0a497df..e65cf90a94f423d4fbd159764e000c823992ba4f 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ShapeKernel.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/Kernels/ShapeKernel.swift @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ +import Metal import Foundation struct ShapeMetalParam { diff --git a/metal/paddle-mobile/paddle-mobile/Operators/Kernels/Texture2DTo2DArrayKernel.swift b/metal/paddle-mobile/paddle-mobile/Operators/Kernels/Texture2DTo2DArrayKernel.swift index 0943686660e4bdd91b6cd909dff04cdd497cd817..a207f275911fc7b2a12ce706a80f14e7578193fe 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/Kernels/Texture2DTo2DArrayKernel.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/Kernels/Texture2DTo2DArrayKernel.swift @@ -13,6 +13,8 @@ limitations under the License. */ import Foundation +import MetalKit +import CoreMedia struct Texture2DTo2DArrayParam { let input: MTLTexture diff --git a/metal/paddle-mobile/paddle-mobile/Operators/MulticlassNMSOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/MulticlassNMSOp.swift index fc1b3164c9cf623a1bc4d350cc8a5f72c369bae4..0e003a2fe856f73040249233beb4ab1a8e8bb760 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/MulticlassNMSOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/MulticlassNMSOp.swift @@ -15,7 +15,7 @@ import Foundation class MulticlassNMSParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { scores = try MulticlassNMSParam.getFirstTensor(key: "Scores", map: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/PoolOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/PoolOp.swift index 6f42f2aa9f8d0515946ace625ed16c5040fd3099..c8f25dbce290405e6949a0d0571b46108b394ff8 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/PoolOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/PoolOp.swift @@ -15,7 +15,7 @@ import Foundation class PoolParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try PoolParam.inputX(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/PreluOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/PreluOp.swift index 2d7987e937b9ddf6410ebb0d23bb89c76c1a13ce..94c81b2158ed622c627e862a66a00397e3a8b2d8 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/PreluOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/PreluOp.swift @@ -15,7 +15,7 @@ import Foundation class PreluParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try PreluParam.inputX(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/PriorBoxOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/PriorBoxOp.swift index 2a9f18463483a024545300661e1db33cedce585b..1b4bf67a71276c6c0dc2c377edca7780776837d6 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/PriorBoxOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/PriorBoxOp.swift @@ -15,7 +15,7 @@ import Foundation class PriorBoxParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { min_max_aspect_ratios_order = try PriorBoxParam.getAttr(key: "min_max_aspect_ratios_order", attrs: opDesc.attrs) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ReluOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ReluOp.swift index 7748df75fef3a2280a51dda159ead0392e146443..deefb69464627433727e0da5557b73644962aafb 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ReluOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ReluOp.swift @@ -16,7 +16,7 @@ import Foundation class ReluParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try ReluParam.inputX(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ReshapeOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ReshapeOp.swift index ac46baca91bd6eedab9241da68a05d08391ec931..bb7a20e9a0573d9ce3547c31d27753b7ec653724 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ReshapeOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ReshapeOp.swift @@ -13,9 +13,10 @@ limitations under the License. */ import Foundation +import Metal class ReshapeParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try ReshapeParam.inputX(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/ShapeOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/ShapeOp.swift index b37eed0a9d398923bb866444cf224cb79bb2fecc..cbe9b44fa40c1f99d27450da938ad06e9d162e62 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/ShapeOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/ShapeOp.swift @@ -15,7 +15,7 @@ import Foundation class ShapeParam: OpParam { - typealias ParamPrecisionType = P + // typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try ShapeParam.input(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/SoftmaxOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/SoftmaxOp.swift index 66b5c7b3146d4c433e12b846a971e4b5ae579f79..3931965b0508fba64d661045ba98c5f0f8e1e56c 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/SoftmaxOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/SoftmaxOp.swift @@ -13,16 +13,17 @@ limitations under the License. */ import Foundation +import Metal class SoftmaxParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try SoftmaxParam.inputX(inputs: opDesc.inputs, from: inScope) output = try SoftmaxParam.outputOut(outputs: opDesc.outputs, from: inScope) - assert(input.tensorDim.dims.count == 2) - assert(input.transpose == [0, 1, 2, 3]) + //assert(input.tensorDim.dims.count == 2) + //assert(input.transpose == [0, 1, 2, 3]) output.dim = input.dim output.tensorDim = input.tensorDim diff --git a/metal/paddle-mobile/paddle-mobile/Operators/SplitOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/SplitOp.swift index 4495902a46426e2a866ba81a2aa761951605f940..98c3b709232dc095a331d808dd1c87987afe90fd 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/SplitOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/SplitOp.swift @@ -15,7 +15,7 @@ import Foundation class SplitParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try SplitParam.inputX(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/TransposeOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/TransposeOp.swift index 8b695ec76fcd46b46f503e21e70f8aac52cee717..87f3fa0ff314294c75c431cc12229dd1100dac4d 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/TransposeOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/TransposeOp.swift @@ -13,9 +13,10 @@ limitations under the License. */ import Foundation +import Metal class TransposeParam: OpParam { - typealias ParamPrecisionType = P + //typealias ParamPrecisionType = P required init(opDesc: OpDesc, inScope: Scope) throws { do { input = try TransposeParam.inputX(inputs: opDesc.inputs, from: inScope) diff --git a/metal/paddle-mobile/paddle-mobile/PaddleMobile.swift b/metal/paddle-mobile/paddle-mobile/PaddleMobile.swift index a6ed8d400ede11a09c4e10ac4dd84273dcf079dc..b66d4ccca600d247f83a662b501ea973f6ca7c9e 100644 --- a/metal/paddle-mobile/paddle-mobile/PaddleMobile.swift +++ b/metal/paddle-mobile/paddle-mobile/PaddleMobile.swift @@ -33,7 +33,7 @@ class ScaleKernel: CusomKernel { } -public class Runner: NSObject { +@objc public class Runner: NSObject { var program: Program? var executor: Executor? var queue: MTLCommandQueue? diff --git a/metal/paddle-mobile/paddle-mobile/Program/ProgramOptimize.swift b/metal/paddle-mobile/paddle-mobile/Program/ProgramOptimize.swift index 87aced32c0c2cd576f023eeb5a3daad15daf1ce8..a62b4688aa5a806bbb823f22ba3329ee38de719f 100644 --- a/metal/paddle-mobile/paddle-mobile/Program/ProgramOptimize.swift +++ b/metal/paddle-mobile/paddle-mobile/Program/ProgramOptimize.swift @@ -203,6 +203,7 @@ class ProgramOptimize { var typeMapNodes: [String : [(node: Node, output: [String : Node])]] = [:] let block = originProgramDesc.blocks[0] for opDesc in block.ops { + print(opDesc.type) guard let opInputKeys = opInfos[opDesc.type]?.inputs, let outputKeys = opInfos[opDesc.type]?.outputs else { fatalError() } diff --git a/metal/paddle-mobile/paddle-mobile/Program/VarDesc.swift b/metal/paddle-mobile/paddle-mobile/Program/VarDesc.swift index f29169598f69ec568bd9d08af8fa4738fe8f5eea..810c2bbf4a33968c6f2268a3f4356cc02f82490a 100644 --- a/metal/paddle-mobile/paddle-mobile/Program/VarDesc.swift +++ b/metal/paddle-mobile/paddle-mobile/Program/VarDesc.swift @@ -85,6 +85,7 @@ extension VarDesc: CustomStringConvertible, CustomDebugStringConvertible { if let inTensorDesc = tensorDesc { str += " dim size: \(inTensorDesc.dims.count) \n" str += " dim: \(inTensorDesc.dims) \n" + str += "type:\(self.type) \n" } else { str += " no dim info" } diff --git a/metal/paddle-mobile/paddle-mobile/YoloNet.swift b/metal/paddle-mobile/paddle-mobile/YoloNet.swift new file mode 100644 index 0000000000000000000000000000000000000000..f3faf79a5bc49b33968f3ce16a6c9e7e40deac45 --- /dev/null +++ b/metal/paddle-mobile/paddle-mobile/YoloNet.swift @@ -0,0 +1,49 @@ +// +// YoloNet.swift +// paddle-mobile +// +// Created by Xiao,Haichun on 2018/12/5. +// Copyright © 2018 orange. All rights reserved. +// + +import Foundation +import Metal + +public class YoloNet: Net { + @objc public override init(device: MTLDevice) { + super.init(device: device) + means = [0, 0, 0] + scale = 1 + except = 0 + modelPath = Bundle.main.path(forResource: "yolo_model", ofType: nil) ?! "model null" + paramPath = Bundle.main.path(forResource: "yolo_params", ofType: nil) ?! "para null" + modelDir = "" + //preprocessKernel = GenetPreProccess.init(device: device) + dim = (n: 1, h: 224, w: 224, c: 3) + } + + @objc override public init(device: MTLDevice,paramPointer: UnsafeMutableRawPointer, paramSize:Int, modePointer: UnsafeMutableRawPointer, modelSize: Int) { + super.init(device:device,paramPointer:paramPointer,paramSize:paramSize,modePointer:modePointer,modelSize:modelSize) + means = [0, 0, 0] + scale = 1 + except = 0 + modelPath = "" + paramPath = "" + modelDir = "" + //preprocessKernel = GenetPreProccess.init(device: device) + dim = (n: 1, h: 224, w: 224, c: 3) + } + +// class GenetPreProccess: CusomKernel { +// init(device: MTLDevice) { +// let s = CusomKernel.Shape.init(inWidth: 128, inHeight: 128, inChannel: 3) +// super.init(device: device, inFunctionName: "genet_preprocess", outputDim: s, usePaddleMobileLib: false) +// } +// } + + override public func resultStr(res: ResultHolder) -> String { + // fatalError() + return " \(res.result![0]) ... " + } + +} diff --git a/metal/paddle-mobile/paddle-mobile/framework/Tensor.swift b/metal/paddle-mobile/paddle-mobile/framework/Tensor.swift index c5ee1414521e7eb92011d4f4b608ad326b005531..4da06e12294bd54f2bc9d7656c89be1dfd6930be 100644 --- a/metal/paddle-mobile/paddle-mobile/framework/Tensor.swift +++ b/metal/paddle-mobile/paddle-mobile/framework/Tensor.swift @@ -13,8 +13,10 @@ limitations under the License. */ import Foundation +import MetalKit +import CoreMedia -protocol Tensorial: CustomStringConvertible, CustomDebugStringConvertible{ +protocol Tensorial: Variant { var dim: Dim { get set } func numel() -> Int var layout: DataLayout { get } @@ -61,7 +63,7 @@ class Tensor: Tensorial { } } - required init(inDim: Dim, inLayout: DataLayout = DataLayout.NCHW()) { + init(inDim: Dim, inLayout: DataLayout = DataLayout.NCHW()) { dim = inDim let size = inDim.numel() * MemoryLayout

.size let pointer = UnsafeMutablePointer

.allocate(capacity: size)