如何将本地项目上载到FloydHub s

2024-09-28 05:27:18 发布

您现在位置:Python中文网/ 问答频道 /正文

我第一次使用floydhub服务器,我想执行本地系统上可用的代码。我试图使用floyd add'filename'将这个目录添加到floydhub服务器,但它给了我一个错误。在

当我试着求助时。我得到:

Usage: floyd [OPTIONS] COMMAND [ARGS]...

    Floyd CLI interacts with FloydHub server and executes your commands. More
      help is available under each command listed below.

    Options:
      -h, --host TEXT  Floyd server endpoint
      -v, --verbose    Turn on debug logging
      --help           Show this message and exit.

    Commands:
      clone    Download the code for the experiment to the...
      data     Subcommand for data operations
      delete   Delete project runs
      info     Prints detailed info for the run
      init     Initialize new project at the current dir.
      login    Log into Floyd via Auth0.
      logout   Logout of Floyd.
      logs     Print the logs of the run.
      output   Shows the output url of the run.
      run      Run a command on Floyd.
      status   View status of all or specific run.
      stop     Stop a run before it can finish.
      upgrade  Upgrade floyd command line
      version  Prints the current version of the CLI

如何将本地代码推送到floydhub服务器?我没有github url。 当我尝试从floyd cli运行python文件时,出现以下错误:

^{pr2}$

如何在floydhub服务器上执行本地代码?在

我拥有的文件:

  1. 包含2个带有图像的文件夹的数据集文件夹
  2. 源python文件
  3. 弗洛伊德_要求.txt在

Tags: and文件oftherun代码服务器for
1条回答
网友
1楼 · 发布于 2024-09-28 05:27:18

{只需使用cd1>命令来上传代码。在

如果出现“文件太多”错误,则需要将一些目录添加到.floydignore文件:https://docs.floydhub.com/faqs/job/#i-get-too-many-open-files-error-when-i-run-my-project

这将确保不需要的目录不会上载到FloydHub。在

您可以尝试从这里运行快速启动来获得完整的端到端示例:https://docs.floydhub.com/getstarted/quick_start/

相关问题 更多 >

    热门问题