I am trying to get Julia working in colab. I want to mount gdrive to colab just like in IPython when using IJulia. In ipython I can do it as follows:
from google.colab import drive
drive.mount('/content/gdrive')
I tried following:
using PyCall
clb = pyimport("google")
clb.colab.drive.mount("/content/gdrive")
------------------------------------------------------------------------------------
Warning: Password input may be echoed.
Go to this URL in a browser: https://accounts.google.com/o/oauth2/auth?client_id=...
Enter your authorization code:
PyError ($(Expr(:escape, :(ccall(#= /root/.julia/packages/PyCall/ttONZ/src/pyfncall.jl:44 =# #pysym(:PyObject_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, pyargsptr, kw))))) <class 'EOFError'>
EOFError()
File "/usr/local/lib/python3.6/dist-packages/google/colab/drive.py", line 234, in mount
fifo_file.write(_getpass.getpass(auth_prompt) + '\n')
File "/usr/lib/python3.6/getpass.py", line 91, in unix_getpass
passwd = fallback_getpass(prompt, stream)
File "/usr/lib/python3.6/getpass.py", line 126, in fallback_getpass
return _raw_input(prompt, stream)
File "/usr/lib/python3.6/getpass.py", line 148, in _raw_input
raise EOFError
Stacktrace:
[1] pyerr_check at /root/.julia/packages/PyCall/ttONZ/src/exception.jl:60 [inlined]
[2] pyerr_check at /root/.julia/packages/PyCall/ttONZ/src/exception.jl:64 [inlined]
[3] macro expansion at /root/.julia/packages/PyCall/ttONZ/src/exception.jl:84 [inlined]
[4] __pycall!(::PyObject, ::Ptr{PyCall.PyObject_struct}, ::PyObject, ::Ptr{Nothing}) at /root/.julia/packages/PyCall/ttONZ/src/pyfncall.jl:44
[5] _pycall!(::PyObject, ::PyObject, ::Tuple{String}, ::Int64, ::Ptr{Nothing}) at /root/.julia/packages/PyCall/ttONZ/src/pyfncall.jl:29
[6] #call#111 at /root/.julia/packages/PyCall/ttONZ/src/pyfncall.jl:11 [inlined]
[7] (::PyObject)(::String) at /root/.julia/packages/PyCall/ttONZ/src/pyfncall.jl:89
[8] top-level scope at In[9]:3
using PyCall
py"""
from google.colab import drive
drive.mount('/content/gdrive')
"""
cd("/content/gdrive/My\ Drive")
------------------------------------------------------------------------------------
Warning: Password input may be echoed.
Go to this URL in a browser: https://accounts.google.com/o/oauth2/auth?client_id=...
Enter your authorization code:
PyError ($(Expr(:escape, :(ccall(#= /root/.julia/packages/PyCall/ttONZ/src/pyeval.jl:39 =# #pysym(:PyEval_EvalCode), PyPtr, (PyPtr, PyPtr, PyPtr), o, globals, locals))))) <class 'EOFError'>
EOFError()
File "/root/.julia/packages/PyCall/ttONZ/src/pyeval.jl", line 2, in <module>
const Py_file_input = 257
File "/usr/local/lib/python3.6/dist-packages/google/colab/drive.py", line 234, in mount
fifo_file.write(_getpass.getpass(auth_prompt) + '\n')
File "/usr/lib/python3.6/getpass.py", line 91, in unix_getpass
passwd = fallback_getpass(prompt, stream)
File "/usr/lib/python3.6/getpass.py", line 126, in fallback_getpass
return _raw_input(prompt, stream)
File "/usr/lib/python3.6/getpass.py", line 148, in _raw_input
raise EOFError
Stacktrace:
[1] pyerr_check at /root/.julia/packages/PyCall/ttONZ/src/exception.jl:60 [inlined]
[2] pyerr_check at /root/.julia/packages/PyCall/ttONZ/src/exception.jl:64 [inlined]
[3] macro expansion at /root/.julia/packages/PyCall/ttONZ/src/exception.jl:84 [inlined]
[4] pyeval_(::String, ::PyDict{String,PyObject,true}, ::PyDict{String,PyObject,true}, ::Int64, ::String) at /root/.julia/packages/PyCall/ttONZ/src/pyeval.jl:39
[5] top-level scope at /root/.julia/packages/PyCall/ttONZ/src/pyeval.jl:232
[6] top-level scope at In[10]:2
Both did not work.
One way to achieve this is to mount google drive before installing Julia, when default Runtime type is Python by running:
from google.colab import drive
drive.mount('/content/gdrive')
That way, even after Runtime type is changed to Julia, google drive remains mounted until you change Hardware acceleration or session is lost.
Related
I want download video from YouTube with youtube_dl with Colab and save it in google drive. I make a directory with the name of video title and save video in that folder. Then I use this code:
from google.colab import drive
drive.mount('/content/drive', force_remount=True)
URL = "https://www.youtube.com/watch?v=QTPP-iaF7BY&t=1955s"
!pip install youtube_dl
import youtube_dl
with youtube_dl.YoutubeDL({"ignoreerrors": True, "quiet": True}) as ydl:
playlist_dict = ydl.extract_info(URL, download=False)
print('\n', playlist_dict['title'], '\n')
import os
new_folder = playlist_dict['title']
path = f"//content//drive//MyDrive//{new_folder}//".replace("'"," ").replace(".","-").replace(":","-")
os.makedirs(path, exist_ok=True)
print('\n', path, '\n')
%cd {path}
But for the URL that I specified in the above code it get this error:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Transport endpoint is not connected
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Transport endpoint is not connected
The folder you are executing pip from can no longer be found.
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Pillai "Hoeffding's Inequality"
//content//drive//MyDrive//Pillai "Hoeffding's Inequality"//
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2882, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-13-dd9eae6c92da>", line 20, in <module>
get_ipython().magic('cd {path}')
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2160, in magic
return self.run_line_magic(magic_name, magic_arg_s)
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 2081, in run_line_magic
result = fn(*args,**kwargs)
File "<decorator-gen-84>", line 2, in cd
File "/usr/local/lib/python3.7/dist-packages/IPython/core/magic.py", line 188, in <lambda>
call = lambda f, *a, **k: f(*a, **k)
File "/usr/local/lib/python3.7/dist-packages/IPython/core/magics/osm.py", line 288, in cd
oldcwd = py3compat.getcwd()
OSError: [Errno 107] Transport endpoint is not connected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py", line 1823, in showtraceback
stb = value._render_traceback_()
AttributeError: 'OSError' object has no attribute '_render_traceback_'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 1132, in get_records
return _fixed_getinnerframes(etb, number_of_lines_of_context, tb_offset)
File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 313, in wrapped
return f(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/IPython/core/ultratb.py", line 358, in _fixed_getinnerframes
records = fix_frame_records_filenames(inspect.getinnerframes(etb, context))
File "/usr/lib/python3.7/inspect.py", line 1502, in getinnerframes
frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
File "/usr/lib/python3.7/inspect.py", line 1460, in getframeinfo
filename = getsourcefile(frame) or getfile(frame)
File "/usr/lib/python3.7/inspect.py", line 696, in getsourcefile
if getattr(getmodule(object, filename), '__loader__', None) is not None:
File "/usr/lib/python3.7/inspect.py", line 725, in getmodule
file = getabsfile(object, _filename)
File "/usr/lib/python3.7/inspect.py", line 709, in getabsfile
return os.path.normcase(os.path.abspath(_filename))
File "/usr/lib/python3.7/posixpath.py", line 383, in abspath
cwd = os.getcwd()
OSError: [Errno 107] Transport endpoint is not connected
with other URL in YouTube I haven't this problem and it downloads and saves correctly in Google Drive.
EDIT
With changing %cd {path} to os.chdir(path) the problem solved. But
I don't understand why %cd {path} work for some and don't work
for others.
I am trying to use Certbot to get new SSL cert for new domain, but I'm getting an error:
An unexpected error occurred:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 715: invalid start byte
Please see the logfiles in /var/log/letsencrypt for more details.
This is the output from the letsencrypt log, not sure how to fix this.
2021-09-28 11:24:03,054:DEBUG:certbot.main:certbot version: 0.31.0
2021-09-28 11:24:03,055:DEBUG:certbot.main:Arguments: []
2021-09-28 11:24:03,056:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-09-28 11:24:03,064:DEBUG:certbot.log:Root logging level set at 20
2021-09-28 11:24:03,065:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2021-09-28 11:24:03,066:DEBUG:certbot.plugins.selection:Requested authenticator None and installer None
2021-09-28 11:24:03,194:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.31.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1365, in main
return config.func(config, plugins)
File "/usr/lib/python3/dist-packages/certbot/main.py", line 1101, in run
installer, authenticator = plug_sel.choose_configurator_plugins(config, plugins, "run")
File "/usr/lib/python3/dist-packages/certbot/plugins/selection.py", line 225, in choose_configurator_plugins
authenticator = installer = pick_configurator(config, req_inst, plugins)
File "/usr/lib/python3/dist-packages/certbot/plugins/selection.py", line 25, in pick_configurator
(interfaces.IAuthenticator, interfaces.IInstaller))
File "/usr/lib/python3/dist-packages/certbot/plugins/selection.py", line 106, in pick_plugin
verified.prepare()
File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line 251, in prepare
return [plugin_ep.prepare() for plugin_ep in six.itervalues(self._plugins)]
File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line 251, in <listcomp>
return [plugin_ep.prepare() for plugin_ep in six.itervalues(self._plugins)]
File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line 132, in prepare
self._initialized.prepare()
File "/usr/lib/python3/dist-packages/certbot_nginx/configurator.py", line 152, in prepare
self.parser = parser.NginxParser(self.conf('server-root'))
File "/usr/lib/python3/dist-packages/certbot_nginx/parser.py", line 38, in __init__
self.load()
File "/usr/lib/python3/dist-packages/certbot_nginx/parser.py", line 45, in load
self._parse_recursively(self.config_root)
File "/usr/lib/python3/dist-packages/certbot_nginx/parser.py", line 66, in _parse_recursively
self._parse_recursively(subentry[1])
File "/usr/lib/python3/dist-packages/certbot_nginx/parser.py", line 56, in _parse_recursively
trees = self._parse_files(filepath)
File "/usr/lib/python3/dist-packages/certbot_nginx/parser.py", line 207, in _parse_files
parsed = nginxparser.load(_file)
File "/usr/lib/python3/dist-packages/certbot_nginx/nginxparser.py", line 123, in load
return loads(_file.read())
File "/usr/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 715: invalid start byte
2021-09-28 11:24:03,196:ERROR:certbot.log:An unexpected error occurred:
Based on the bug report from github, this is a unicode issue in configuration file.
Solution #1 - You need to generate an UTF-8 locale and launch certbot with it.
Like this:
LANG=en_US.UTF-8 certbot […]
Or, Solution #2 - replace unicode characters in nginx config
You can find the offending line with following command and delete it.
grep -r -P '[^\x00-\x7f]' /etc/apache2 /etc/letsencrypt /etc/nginx
And rerun certbot command.
I have a GCP Cloud Composer environment with airflow version composer-1.10.0-airflow-1.10.6 and python 3, 3.6 to be precise. I am calling an apache-beam pipeline on Dataflow using a python_operator.PythonOperator, operator. Here is the code snippet
Calling the pipeline function
test_greeting = python_operator.PythonOperator(
task_id='python_pipeline',
python_callable=run_pipeline
)
The pipeline function is as follows
def run_pipeline():
print("Test Pipeline")
pipeline_args=[
"--runner","DataflowRunner",
"--project","*****",
"--temp_location","gs://******/temp",
"--region","us-east1",
"--job_name","job1199",
"--zone","us-east1-b"
]
pipeline_options=PipelineOptions(pipeline_args)
pipe=beam.Pipeline(options=pipeline_options)
small_sum = (
pipe
| beam.Create([18,5,7,7,9,23,13,5])
| "Combine Globally" >> beam.CombineGlobally(AverageFn())
| 'Write results' >> beam.io.WriteToText('gs://******/ouptut_from_pipline/combine')
)
run_result=pipe.run()
run_result.wait_until_finish()
return "True"
When I run this the pipeline execution runs in dataflow but fails with the following error
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/dataflow_worker/batchworker.py", line 648, in do_work
work_executor.execute()
File "/usr/local/lib/python3.6/site-packages/dataflow_worker/executor.py", line 150, in execute
test_shuffle_sink=self._test_shuffle_sink)
File "/usr/local/lib/python3.6/site-packages/dataflow_worker/executor.py", line 116, in create_operation
is_streaming=False)
File "apache_beam/runners/worker/operations.py", line 1032, in apache_beam.runners.worker.operations.create_operation
File "apache_beam/runners/worker/operations.py", line 845, in apache_beam.runners.worker.operations.create_pgbk_op
File "apache_beam/runners/worker/operations.py", line 903, in apache_beam.runners.worker.operations.PGBKCVOperation.__init__
File "/usr/local/lib/python3.6/site-packages/apache_beam/internal/pickler.py", line 290, in loads
return dill.loads(s)
File "/usr/local/lib/python3.6/site-packages/dill/_dill.py", line 275, in loads
return load(file, ignore, **kwds)
File "/usr/local/lib/python3.6/site-packages/dill/_dill.py", line 270, in load
return Unpickler(file, ignore=ignore, **kwds).load()
File "/usr/local/lib/python3.6/site-packages/dill/_dill.py", line 472, in load
obj = StockUnpickler.load(self)
File "/usr/local/lib/python3.6/site-packages/dill/_dill.py", line 462, in find_class
return StockUnpickler.find_class(self, module, name)
ModuleNotFoundError: No module named 'unusual_prefix_162ac8b7030d5bd1ff5f128a26483932d3968a4d_python_bash'
The beam version is Apache Beam Python 3.6 SDK 2.19.0.
I suspect the version of Python 3.6 may be the issue as calling the pipeline directly (as a runner) from my local system works fine and my local system is running python 3.7.
I cant find a way to test this theory though.
It would be helpful to get tips of how to resolve this issue.
I am trying to load an image using images. I get the following error:
Error showing value of type Array{RGBA{Normed{UInt8,8}},2}:
ERROR: ArgumentError: broadcasting over dictionaries and `NamedTuple`s is reserved
I call
julia> using FileIO
julia> using Images
julia> img_holder = load("zone-map.png")
Error showing value of type Array{RGBA{Normed{UInt8,8}},2}:
ERROR: ArgumentError: broadcasting over dictionaries and `NamedTuple`s is reserved
Stacktrace: etc. etc. etc.
Any thoughts on how to fix that?
Edit: I am getting the same error when I run the example from here: https://juliaimages.org/latest/function_reference/#ImageTransformations.imresize
So, maybe there's something wrong with my install? Here is the full stack track:
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.0.3 (2018-12-18)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using Images
[ Info: Recompiling stale cache file /Users/logankilpatrick/.julia/compiled/v1.0/Images/H8Vxc.ji for Images [916415d5-f1e6-5110-898d-aaa5f9f070e0]
WARNING: Method definition _bcs1(Any, Any) in module Broadcast at broadcast.jl:439 overwritten in module ImageFiltering at /Users/logankilpatrick/.julia/packages/ImageFiltering/y5YkM/src/ImageFiltering.jl:28.
julia> using TestImages
julia> img = testimage("lena_gray_256")
Error showing value of type Array{Gray{Normed{UInt8,8}},2}:
ERROR: ArgumentError: broadcasting over dictionaries and `NamedTuple`s is reserved
Stacktrace:
[1] broadcastable(::Dict{String,Any}) at ./broadcast.jl:618
[2] broadcasted(::Function, ::Dict{String,Any}, ::Int64) at ./broadcast.jl:1171
[3] plotsize() at /Users/logankilpatrick/.julia/packages/Atom/W03fL/src/frontend.jl:21
[4] plotpane_io_ctx(::Base.GenericIOBuffer{Array{UInt8,1}}) at /Users/logankilpatrick/.julia/packages/Atom/W03fL/src/display/showdisplay.jl:5
[5] displayinplotpane(::Array{Gray{Normed{UInt8,8}},2}) at /Users/logankilpatrick/.julia/packages/Atom/W03fL/src/display/showdisplay.jl:68
[6] display(::Atom.JunoDisplay, ::Array{Gray{Normed{UInt8,8}},2}) at /Users/logankilpatrick/.julia/packages/Atom/W03fL/src/display/showdisplay.jl:102
[7] display(::Any) at ./multimedia.jl:287
[8] #invokelatest#1 at ./essentials.jl:697 [inlined]
[9] invokelatest at ./essentials.jl:696 [inlined]
[10] print_response(::IO, ::Any, ::Any, ::Bool, ::Bool, ::Any) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:154
[11] print_response(::REPL.AbstractREPL, ::Any, ::Any, ::Bool, ::Bool) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:139
[12] (::getfield(REPL, Symbol("#do_respond#40")){Bool,getfield(Atom, Symbol("##172#173")),REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:713
[13] #invokelatest#1 at ./essentials.jl:697 [inlined]
[14] invokelatest at ./essentials.jl:696 [inlined]
[15] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:2273
[16] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:1034
[17] run_repl(::REPL.AbstractREPL, ::Any) at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:191
[18] (::getfield(Base, Symbol("##718#720")){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:355
[19] #invokelatest#1 at ./essentials.jl:697 [inlined]
[20] invokelatest at ./essentials.jl:696 [inlined]
[21] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:339
[22] exec_options(::Base.JLOptions) at ./client.jl:277
[23] _start() at ./client.jl:425
This happens when there's a mismatch between the version of Atom.jl and julia-client (the Atom package).
Please make sure you're on at least v0.11.0 of Atom.jl when using julia-client 0.11.x -- it's a good idea to match minor versions in general. You should also be getting a warning like this:
I'm using h2o version 3.0.0.22 in R and I'm trying to save my model. But I can't seem to figure out what format is expected. I've tried all sorts of variations but getting all sorts of different exceptions.
h2o.saveModel(model, dir="c:/temp", name= "my.model")
ERROR: Unexpected HTTP Status code: 400 Bad Request (url = http://127.0.0.1:54321/3/Models.bin/DeepLearningModel__8412f3abf1699b5593a55c6861c8468d?dir=c%3A%2Ftemp%2Fmy.model&force=0)
java.lang.IllegalArgumentException
[1] "water.persist.PersistManager.getPersistForURI(PersistManager.java:407)"
[2] "water.serial.ObjectTreeBinarySerializer.save(ObjectTreeBinarySerializer.java:57)"
[3] "water.api.ModelsHandler.exportModel(ModelsHandler.java:206)"
[4] "sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)"
[5] "sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)"
[6] "java.lang.reflect.Method.invoke(Unknown Source)"
[7] "water.api.Handler.handle(Handler.java:56)"
[8] "water.api.RequestServer.handle(RequestServer.java:677)"
[9] "water.api.RequestServer.serve(RequestServer.java:614)"
[10] "water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438)"
[11] "java.lang.Thread.run(Unknown Source)"
Error in .h2o.doSafeREST(conn = conn, h2oRestApiVersion = h2oRestApiVersion, :
Cannot find persist manager for scheme c
How can I save my model on my Windows 8 machine?
UPDATE:
This command here seems to create a folder & file:
h2o.saveModel(model, filename="file:///C:/temp/model")
This created a file: C:/temp/DeepLearningModel__8412f3ab21699b5593aa5c6861c8468d.bin
But then throws a different error:
ERROR: Unexpected HTTP Status code: 400 Bad Request (url = http://127.0.0.1:54321/3/Models.bin/DeepLearningModel__8412f3abf1699b5593a55c6861c8468d?dir=file%3A%2F%2F%2FC%3A%2Ftemp%2Fmodel&force=0)
java.lang.IllegalArgumentException
[1] "java.net.URI.create(Unknown Source)"
[2] "water.serial.ObjectTreeBinarySerializer.save(ObjectTreeBinarySerializer.java:70)"
[3] "water.api.ModelsHandler.exportModel(ModelsHandler.java:206)"
[4] "sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)"
[5] "sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)"
[6] "java.lang.reflect.Method.invoke(Unknown Source)"
[7] "water.api.Handler.handle(Handler.java:56)"
[8] "water.api.RequestServer.handle(RequestServer.java:677)"
[9] "water.api.RequestServer.serve(RequestServer.java:614)"
[10] "water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438)"
[11] "java.lang.Thread.run(Unknown Source)"
Error in .h2o.doSafeREST(conn = conn, h2oRestApiVersion = h2oRestApiVersion, :
Malformed escape pair at index 165: file:///C:/temp/model/modelmetrics_DeepLearningModel__8412f3abf1699b5593a55c6861c8468d#-1218026610891888320_on_TrainingData.hex_1_part0.temporary.sample.9.91%#1615017098181529186.bin
H2O JIRA contains issue PUBDEV-1566 which is referencing your problem.
You can try to use the latest H2O - 3.0.0.26 which contains fix for the issue. You can find it here.