Skip to content

Commit

Permalink
use correct tf model weights filename (#2901)
Browse files Browse the repository at this point in the history
  • Loading branch information
SYangster authored Sep 4, 2024
1 parent 81f23fc commit d07b3f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/hello-world/hello_world.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@
"common_decomposers.register()\n",
"\n",
"result = sess.download_job_result(job_id)\n",
"with open(result + \"/workspace/app_server/tf2weights.fobs\", \"rb\") as f:\n",
"with open(result + \"/workspace/app_server/tf_model.weights.h5\", \"rb\") as f:\n",
" bytes = f.read()\n",
"\n",
"weights = fobs.loads(bytes)\n",
Expand Down Expand Up @@ -878,7 +878,7 @@
"\n",
"common_decomposers.register()\n",
"result = sess.download_job_result(job_id)\n",
"with open(result + \"/workspace/app_server/tf2weights.fobs\", \"rb\") as f:\n",
"with open(result + \"/workspace/app_server/tf_model.weights.h5\", \"rb\") as f:\n",
" bytes = f.read()\n",
"\n",
"weights = fobs.loads(bytes)\n",
Expand Down Expand Up @@ -971,4 +971,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}

0 comments on commit d07b3f6

Please sign in to comment.