-
进入活动链接:https://pangu.huaweicloud.com/gallery/asset-detail.html?id=c1cf0774-59ce-44fc-a4a8-8fcf026d2fec1、切换规格为64GB的限时免费规格2、点击执行3、然后执行:4、继续执行5、切换python版本,这个很重要!!!!,6、安装和启动运行7、最后生成了一个链接:Running on public URL: https://0dfb450b322dd89a40.gradio.live8、点击该URL,就可以开始使用了角色:man 活动: play basketball,选择风格类型使用效果1,这个是“线条艺术”这个是“油画”效果这个是“日本动画”风格该模型部署起来很方便,模型很强大,伙伴们可以多多探索,多少挖掘
-
/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (3.0.4) doesn't match a supported version! RequestsDependencyWarning) Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): failed # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< Traceback (most recent call last): File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 443, in _error_catcher yield File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 818, in read_chunked chunk = self._handle_chunk(amt) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 762, in _handle_chunk value = self._fp._safe_read(amt) File "/home/ma-user/anaconda3/lib/python3.7/http/client.py", line 622, in _safe_read raise IncompleteRead(b''.join(s), amt) http.client.IncompleteRead: IncompleteRead(4223 bytes read, 6017 more expected) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/models.py", line 750, in generate for chunk in self.raw.stream(chunk_size, decode_content=True): File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 623, in stream for line in self.read_chunked(amt, decode_content=decode_content): File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 844, in read_chunked self._original_response.close() File "/home/ma-user/anaconda3/lib/python3.7/contextlib.py", line 130, in __exit__ self.gen.throw(type, value, traceback) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/urllib3/response.py", line 460, in _error_catcher raise ProtocolError("Connection broken: %r" % e, e) urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(4223 bytes read, 6017 more expected)', IncompleteRead(4223 bytes read, 6017 more expected)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/exceptions.py", line 1079, in __call__ return func(*args, **kwargs) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/cli/main.py", line 84, in _main exit_code = do_call(args, p) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/cli/conda_argparse.py", line 82, in do_call return getattr(module, func_name)(args, parser) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/cli/main_create.py", line 37, in execute install(args, parser, 'create') File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/cli/install.py", line 265, in install should_retry_solve=(_should_retry_unfrozen or repodata_fn != repodata_fns[-1]), File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 117, in solve_for_transaction should_retry_solve) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 158, in solve_for_diff force_remove, should_retry_solve) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 262, in solve_final_state ssc = self._collect_all_metadata(ssc) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/common/io.py", line 88, in decorated return f(*args, **kwds) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 415, in _collect_all_metadata index, r = self._prepare(prepared_specs) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/solve.py", line 1011, in _prepare self.subdirs, prepared_specs, self._repodata_fn) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/index.py", line 228, in get_reduced_index repodata_fn=repodata_fn) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 105, in query_all result = tuple(concat(executor.map(subdir_query, channel_urls))) File "/home/ma-user/anaconda3/lib/python3.7/concurrent/futures/_base.py", line 598, in result_iterator yield fs.pop().result() File "/home/ma-user/anaconda3/lib/python3.7/concurrent/futures/_base.py", line 435, in result return self.__get_result() File "/home/ma-user/anaconda3/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result raise self._exception File "/home/ma-user/anaconda3/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 98, in <lambda> package_ref_or_match_spec)) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 110, in query self.load() File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 174, in load _internal_state = self._load() File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 248, in _load repodata_fn=self.repodata_fn) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 485, in fetch_repodata_remote_request timeout=timeout) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 546, in get return self.request('GET', url, **kwargs) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 686, in send r.content File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/models.py", line 828, in content self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b'' File "/home/ma-user/anaconda3/lib/python3.7/site-packages/requests/models.py", line 753, in generate raise ChunkedEncodingError(e) requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(4223 bytes read, 6017 more expected)', IncompleteRead(4223 bytes read, 6017 more expected)) `$ /home/ma-user/anaconda3/bin/conda create -n py36 python=3.6.10 -y` environment variables: CIO_TEST=<not set> CONDA_DIR=/modelarts/authoring/notebook-conda CONDA_ROOT=/home/ma-user/anaconda3 FTP_PROXY=<set> HTTPS_PROXY=<set> HTTP_PROXY=<set> LD_LIBRARY_PATH=/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/nv idia/lib:/usr/local/nvidia/lib64:/usr/lib/x86_64-linux-gnu/ LIBRARY_PATH=/usr/local/cuda/lib64/stubs: MODELARTS_MODEL_PATH=/home/ma-user/infer/model/1 NO_PROXY=<set> PATH=/home/ma-user/anaconda3/envs/TensorFlow-2.1/bin:/home/ma-user/anaconda 3/envs/TensorFlow-2.1/bin:/usr/local/openmpi/bin:/usr/local/nvidia/bin :/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin :/sbin:/bin:/modelarts/authoring/notebook-conda/bin:/home/ma- user/modelarts-dev/ma- cli/bin:/modelarts/authoring/script/entrypoint/deps/ssh/bin:/home/ma- user/anaconda3/envs/TensorFlow-2.1/bin PYTHONPATH=/usr/local/seccomponent/lib:/home/ma-user/infer/model/1 REQUESTS_CA_BUNDLE=<not set> SCC_CONFIG_PATH=/home/ma-user/scc/kmc.conf SITE_PACKAGES_PATH=/home/ma-user/anaconda3/envs/TensorFlow-2.1/lib/python3.7/site- packages SSL_CERT_FILE=<not set> ftp_proxy=<set> http_proxy=<set> https_proxy=<set> no_proxy=<set> active environment : None user config file : /home/ma-user/.condarc populated config files : /home/ma-user/.condarc conda version : 4.8.2 conda-build version : not installed python version : 3.7.6.final.0 virtual packages : __glibc=2.27 base environment : /home/ma-user/anaconda3 (writable) channel URLs : cid:link_0 cid:link_2 cid:link_1 cid:link_3 cid:link_4 cid:link_5 cid:link_6 cid:link_7 package cache : /home/ma-user/anaconda3/pkgs /home/ma-user/.conda/pkgs envs directories : /home/ma-user/anaconda3/envs /home/ma-user/.conda/envs platform : linux-64 user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.6 Linux/4.18.0-147.5.1.6.h841.eulerosv2r9.x86_64 ubuntu/18.04.6 glibc/2.27 UID:GID : 1000:100 netrc file : None offline mode : False An unexpected error has occurred. Conda has prepared the above report.
-
训练yolov7,device输入参数默认是cpu,在cpu上训练。想改用GPU,device参数改成0,但是notebook运行报了错:请问可怎么解决?
-
命令和报错信息: (python-3.7.10) [ma-user work]$ma-cli image build .ma/customize_from_ubuntu_18.04_to_modelarts/Dockerfile -swr hw03426922/only-conda:0.0.1 [+] Building 0.0s (0/0) error: failed to get status: rpc error: code = Unavailable desc = connection error: desc = "transport: error while dialing: dial tcp 127.0.0.1:1234: connect: connection refused" Failed to build image, for details, see /home/ma-user/work/.ma/customize_from_ubuntu_18.04_to_modelarts/build_log.log. [ FAILED ] Build image hw03426922/only-conda:0.0.1 failed! 这是为什么呢?
-
在Notebook里开了一个teminal, 然后打开了vim用Ctrl-F是往下翻页当想用Ctrl-B向上翻页时,发现是切换文件浏览器的隐藏和显示,所以,notebook里如何修改Ctrl-B快捷键的行为?
-
本地Anaconda使用pip install jupyterlab后使用jupyter-lab打开窗口创建Terminal出现错误Launcher Error、Unhandled error、Dismiss解决方案通过查询Anaconda窗口信息发现报错如下:Traceback (most recent call last): File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\tornado\web.py", line 1702, in _execute result = method(*self.path_args, **self.path_kwargs) File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\tornado\web.py", line 3173, in wrapper return method(self, *args, **kwargs) File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\jupyter_server\terminal\api_handlers.py", line 26, in post name, _ = self.terminal_manager.new_named_terminal(**data) File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\terminado\management.py", line 319, in new_named_terminal term = self.new_terminal(**kwargs) File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\terminado\management.py", line 171, in new_terminal pty = PtyProcessUnicode.spawn(argv, env=env, cwd=options.get('cwd', None)) File "e:\anaconda3\envs\pytorch1.6.0\lib\site-packages\winpty\ptyprocess.py", line 89, in spawn 'executable: %s.' % command FileNotFoundError: The command was not found or was not executable: powershell.exe.可以发现报错的原因是JupyterLab在创建Ternimal时无法定位到PowerShell。为此,我通过CMD启用PowerShell仍然失败,如下所示:因此怀疑时是环境变量中缺少`PowerShell`路径,因此我找到`PowerShell`路径并添加至环境变量,如下所示完成后在CMD中输入PowerShell即可进入PowerShell模式此时打开Anaconda启动JupyterLab,即可正常启动Terminal,如下所示:总结如果在Win10平台使用JupyterLab无法正常启动Terminal且报错为FileNotFoundError: The command was not found or was not executable: powershell.exe.,只需要在环境变量中添加PowerShell路径
-
如题,notebook好像没有办法自己装驱动,非常感谢
-
小白求助,使用notebook老是碰到以下问题
-
如图如图如图如图如图
-
使用pip install时出现“没有空间”的错误
-
如何在Notebook中安装外部库?
-
在Notebook中,如何访问其他帐号的OBS桶?
-
Notebook可以访问OBS中的文件,如果对文件进行重命名?
-
Notebook停止或者重启后,“/cache”下的文件还存在么?
-
报错内存已满或者“CUDA error: out of memory”怎么办? 有没有什么办法?
推荐直播
-
GaussDB数据库介绍
2025/01/07 周二 16:00-18:00
Steven 华为云学堂技术讲师
本期直播将介绍GaussDB数据库的发展历程、优势、架构、关键特性和部署模式等,旨在帮助开发者了解GaussDB数据库,并通过手把手实验教大家如何在华为云部署GaussDB数据库和使用gsql连接GaussDB数据库。
去报名 -
DTT年度收官盛典:华为开发者空间大咖汇,共探云端开发创新
2025/01/08 周三 16:30-18:00
Yawei 华为云开发工具和效率首席专家 Edwin 华为开发者空间产品总监
数字化转型进程持续加速,驱动着技术革新发展,华为开发者空间如何巧妙整合鸿蒙、昇腾、鲲鹏等核心资源,打破平台间的壁垒,实现跨平台协同?在科技迅猛发展的今天,开发者们如何迅速把握机遇,实现高效、创新的技术突破?DTT 年度收官盛典,将与大家共同探索华为开发者空间的创新奥秘。
去报名 -
GaussDB应用实战:手把手带你写SQL
2025/01/09 周四 16:00-18:00
Steven 华为云学堂技术讲师
本期直播将围绕数据库中常用的数据类型、数据库对象、系统函数及操作符等内容展开介绍,帮助初学者掌握SQL入门级的基础语法。同时在线手把手教你写好SQL。
去报名
热门标签