-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add document detail #518
Merged
Merged
add document detail #518
Changes from 16 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
4686391
fix bug of autoint model demo config
yangxudong 4011d71
Merge branch 'master' into daily_bug_fix
yangxudong a23298b
fix bug of wrong demo model configs
yangxudong 9e131bc
Merge branch 'master' into daily_bug_fix
yangxudong 7f5ddad
fix bug of undefined flags of easyrec tools run with DeepRec
yangxudong 74b1edc
fix bug
yangxudong 8ffbc29
fix bug
yangxudong 3f97db9
fix bug
yangxudong c7d7a0d
fix bug
yangxudong eed8283
fix bug
yangxudong d7a1860
Build docker (#515)
yanzhen1233 179cfa3
merge from master
yangxudong 1f81f2b
fix bug of autoint model demo config
yangxudong c00d33e
fix bug of wrong demo model configs
yangxudong bf983d4
Merge branch 'master' into daily_bug_fix
yangxudong 8317df7
merge from master
yangxudong 9cd8ca1
merge from master
yangxudong cd9fdcc
merge from master
yangxudong 8935776
merge from master
yangxudong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,20 +8,39 @@ | |
|
||
#### 本地Anaconda安装 | ||
|
||
温馨提示:**在搭载Apple芯片的MacBook上必须使用TensorFlow 2.5或更高版本**。 | ||
|
||
Demo实验中使用的环境为 `python=3.6.8` + `tenserflow=1.12.0` | ||
|
||
```bash | ||
conda create -n py36_tf12 python=3.6.8 | ||
conda activate py36_tf12 | ||
pip install tensorflow==1.12.0 | ||
pip install tensorflow_probability==0.5.0 | ||
``` | ||
|
||
注意:必须要安装`tensorflow_probability`包,需要根据tensorflow的版本安装对应版本的`tensorflow_robability`包。 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 需要根据tensorflow的版本安装对应版本的 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 已修复 |
||
|
||
常见版本对应关系: | ||
|
||
| TensorFlow版本 | TensorFlowProbability版本 | | ||
|--------------|-------------------------| | ||
| 1.12 | 0.5.0 | | ||
| 1.15 | 0.8.0 | | ||
| 2.5.0 | 0.13.0 | | ||
| 2.6.0 | 0.14.0 | | ||
| 2.7.0 | 0.15.0 | | ||
| 2.8.0 | 0.16.0 | | ||
| 2.10 | 0.18.0 | | ||
| 2.12 | 0.20.0 | | ||
|
||
其他版本对应关系请查看链接:[Releases · tensorflow/probability](https://github.com/tensorflow/probability/releases)。 | ||
|
||
```bash | ||
git clone https://github.com/alibaba/EasyRec.git | ||
cd EasyRec | ||
bash scripts/init.sh | ||
python setup.py install | ||
|
||
``` | ||
|
||
#### Docker镜像启动 | ||
|
@@ -33,13 +52,22 @@ Docker的环境为`python=3.6.9` + `tenserflow=1.15.5` | |
```bash | ||
git clone https://github.com/alibaba/EasyRec.git | ||
cd EasyRec | ||
docker pull mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/easyrec:py36-tf1.15-0.7.4 | ||
docker run -td --network host -v /local_path/EasyRec:/docker_path/EasyRec mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/easyrec:py36-tf1.15-0.7.4 | ||
docker pull mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/easyrec:py36-tf1.15-0.8.5 | ||
docker run -td --network host -v /local_path/EasyRec:/docker_path/EasyRec mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/easyrec:py36-tf1.15-0.8.5 | ||
docker exec -it <CONTAINER_ID> bash | ||
``` | ||
|
||
##### 方法二:自行构建Docker镜像 | ||
|
||
我们提供四个版本的tensorflow镜像构建示例,对应的脚步路径如下: | ||
|
||
- scripts/build_docker_tf112.sh | ||
- scripts/build_docker_tf115.sh | ||
- scripts/build_docker_tf210.sh | ||
- scripts/build_docker_tf212.sh | ||
|
||
默认使用`tensorflow 1.15`的版本,示例脚本如下,请根据需要替换脚本路径: | ||
|
||
```bash | ||
git clone https://github.com/alibaba/EasyRec.git | ||
cd EasyRec | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
原始特征值乘上一个可学习embedding参数: 这种怎么操作呢?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个就是原来文档里提供的方式,但没有提供不转embedding的方式
现在我分成两个case写了