git命令复现github模型代码:git clone(不是git clong),不是get clone

git命令复现github模型代码:

第一个命令:git clone(不是git clong)

git clong git@github.com:xxxx2019/DeepInf.git
#(不是git clong)

xxx@DESKTOP-TTPHC4V MINGW64 ~
$ git clone git@github.com:xxx2019/DeepInf.git
Cloning into 'DeepInf'...
remote: Enumerating objects: 73, done.
fatal: the remote end hung up unexpectedlyB | 34.00 KiB/s
fatal: early EOF
fatal: index-pack failed

xxx@DESKTOP-TTPHC4V MINGW64 ~
$ git clone git@github.com:xxx2019/DeepInf.git
Cloning into 'DeepInf'...
remote: Enumerating objects: 73, done.
remote: Total 73 (delta 0), reused 0 (delta 0), pack-reused 73
Receiving objects: 100% (73/73), 86.12 MiB | 627.00 KiB/s, done.
Resolving deltas: 100% (25/25), done.

第二个命令:cd+文件夹名字(不要c盘和用户名那个文件夹)

xxx@DESKTOP-TTPHC4V MINGW64 ~
$ cd DeepInf

xxx@DESKTOP-TTPHC4V MINGW64 ~/DeepInf (master)

第三个命令。运行文件夹中的文件。最有成效的一步。

xxxx@DESKTOP-TTPHC4V MINGW64 ~/DeepInf (master)
$ python train.py

usage: train.py [-h] [--tensorboard-log TENSORBOARD_LOG] [--model MODEL]
                [--no-cuda] [--seed SEED] [--epochs EPOCHS] [--lr LR]
                [--weight-decay WEIGHT_DECAY] [--dropout DROPOUT]
                [--hidden-units HIDDEN_UNITS] [--heads HEADS] [--batch BATCH]
                [--dim DIM] [--check-point CHECK_POINT]
                [--instance-normalization] [--shuffle] --file-dir FILE_DIR
                [--train-ratio TRAIN_RATIO] [--valid-ratio VALID_RATIO]
                [--class-weight-balanced] [--use-vertex-feature]
                [--sequence-size SEQUENCE_SIZE]
                [--neighbor-size NEIGHBOR_SIZE]
train.py: error: the following arguments are required: --file-dir

开始运行了

郁闷的是,开始有bug了

你可能感兴趣的:(git,github,python,机器学习)