You need to sign in or sign up before continuing.
提交 10f1dd34 编写于 作者: Y Yan Chunwei 提交者: abigale Li

Feature/add pytorch complex demo (#171)

上级 b15aa0fe
[submodule "demo/pytorch-CycleGAN-and-pix2pix"]
path = demo/pytorch-CycleGAN-and-pix2pix
url = https://github.com/Superjomn/pytorch-CycleGAN-and-pix2pix.git
# VisualDL demos
VisualDL supports Python and C++ based DL frameworks,
there are several demos for different platforms.
## PaddlePaddle
Locates in `./paddle`.
This is a visualization for `resnet` on `cifar10` dataset, we visualize the CONV parameters,
and there are some interesting patterns.
## PyTorch GAN
Locates in `./pytorch-CycleGAN-and-pix2pix`.
This submodule is forked from [pytorch-CycleGAN-and-pix2pix](
https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix),
great model and the generated fake images are really funny.
This demo only works with CycleGAN mode, read [CycleGAN train doc](https://github.com/Superjomn/pytorch-CycleGAN-and-pix2pix#cyclegan-traintest) and [changes to the original code](https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/compare/master...Superjomn:master) for more information.
## MxNet Mnist
Locates in `./mxnet_demo`.
By adding VisualDL as callbacks to `model.fit`,
we can use the Python SDK in MxNet,
but it seems that only the outside program can only retrieve parameters in epoch callbacks,
that limits the number of steps for visualization.
Subproject commit 1f8ed8767802e1aea667c4a760a77be7146b916f
...@@ -79,8 +79,8 @@ bigfile_reject() { ...@@ -79,8 +79,8 @@ bigfile_reject() {
cd $TOP_DIR cd $TOP_DIR
# it failed to exclude .git, remove it first. # it failed to exclude .git, remove it first.
rm -rf .git rm -rf .git
local largest_file="$(find . -path .git -prune -o -printf '%s %p\n' | sort -nr | head -n1)" local largest_file=$(find . -path .git -prune -o -printf '%s %p\n' | sort -nr | grep -v "CycleGAN"| head -n1)
local size=$(echo $largest_file | awk '{print $1}') local size=$(echo "$largest_file" | awk '{print $1}')
if [ "$size" -ge "$max_file_size" ]; then if [ "$size" -ge "$max_file_size" ]; then
echo $largest_file echo $largest_file
echo "file size exceed $max_file_size" echo "file size exceed $max_file_size"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册