我第一次使用floydhub服务器,我想执行本地系统上可用的代码。我尝试使用floyd add' filename'将此目录添加到floydhub服务器但它给了我一个错误。
我试过 floyd --help 。我明白了:
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网址。 当我尝试从floyd cli运行python文件时,我收到此错误:
IOError: [Errno 24] Too many open files: './.env/src/xgboost/cub/examples/block/example_block_radix_sort.cu'
如何在floydhub服务器上执行本地代码?
我拥有的文件:
答案 0 :(得分:0)
您只需使用floyd run
命令上传代码并启动实例。
如果您有太多文件错误,则需要将一些目录添加到.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/