This repository was archived by the owner on Jul 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Expand file tree Collapse file tree 1 file changed +25
-5
lines changed Original file line number Diff line number Diff line change 193193 " path = \" examples\"\n " ,
194194 " else:\n " ,
195195 " path = \" {0}/openvino_tensorflow/examples/\" .format(OVTF_DIR)\n " ,
196- " %cd {path}\n " ,
197- " !python3 -m pip install virtualenv\n " ,
198- " !virtualenv env\n " ,
199- " !source env/bin/activate && chmod +x convert_yolov4.sh && bash convert_yolov4.sh && deactivate\n " ,
200- " # Once the model conversion is completed; move back to outside of examples directory\n " ,
196+ " %cd {path}"
197+ ]
198+ },
199+ {
200+ "cell_type" : " code" ,
201+ "execution_count" : null ,
202+ "metadata" : {},
203+ "outputs" : [],
204+ "source" : [
205+ " %%bash\n " ,
206+ " # Download and convert the model (Might take a while)\n " ,
207+ " python3 -m pip install --force-reinstall virtualenv\n " ,
208+ " # This path needs to be appended while running on the docker container\n " ,
209+ " export PATH=$PATH:/home/openvino/.local/bin\n " ,
210+ " virtualenv env\n " ,
211+ " source env/bin/activate && chmod +x convert_yolov4.sh && bash convert_yolov4.sh && deactivate"
212+ ]
213+ },
214+ {
215+ "cell_type" : " code" ,
216+ "execution_count" : null ,
217+ "metadata" : {},
218+ "outputs" : [],
219+ "source" : [
220+ " # Once the model conversion is completed; move back outside of the examples directory\n " ,
201221 " %cd ../"
202222 ]
203223 },
You can’t perform that action at this time.
0 commit comments