From 63fcad419839e983178ccbd6c92ca1117663a13d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Fri, 19 Apr 2024 15:01:39 -0700 Subject: [PATCH] fairinternal -> facebookresearch Update references to the current repository location, rebuild the site. --- README.md | 4 ++-- sections/home.mdx | 2 +- site.json | 2 +- site/404.html | 2 +- .../dataset.json | 0 site/_next/data/1TXU6qFYO42stpeD3xOWG/home.json | 1 + .../index.json | 0 .../paper.json | 0 .../tos.json | 0 site/_next/data/SnwbkhgM7LaNduO1YE0v0/home.json | 1 - .../_buildManifest.js | 2 +- .../_middlewareManifest.js | 0 .../_ssgManifest.js | 0 ...{[id]-c4995053393e27ea.js => [id]-750b1620e1f48f9b.js} | 2 +- site/dataset.html | 2 +- site/home.html | 8 ++++---- site/index.html | 2 +- site/paper.html | 2 +- site/tos.html | 4 ++-- torchserve/torchserve/model-store/README.md | 2 +- 20 files changed, 18 insertions(+), 18 deletions(-) rename site/_next/data/{SnwbkhgM7LaNduO1YE0v0 => 1TXU6qFYO42stpeD3xOWG}/dataset.json (100%) create mode 100644 site/_next/data/1TXU6qFYO42stpeD3xOWG/home.json rename site/_next/data/{SnwbkhgM7LaNduO1YE0v0 => 1TXU6qFYO42stpeD3xOWG}/index.json (100%) rename site/_next/data/{SnwbkhgM7LaNduO1YE0v0 => 1TXU6qFYO42stpeD3xOWG}/paper.json (100%) rename site/_next/data/{SnwbkhgM7LaNduO1YE0v0 => 1TXU6qFYO42stpeD3xOWG}/tos.json (100%) delete mode 100644 site/_next/data/SnwbkhgM7LaNduO1YE0v0/home.json rename site/_next/static/{SnwbkhgM7LaNduO1YE0v0 => 1TXU6qFYO42stpeD3xOWG}/_buildManifest.js (87%) rename site/_next/static/{SnwbkhgM7LaNduO1YE0v0 => 1TXU6qFYO42stpeD3xOWG}/_middlewareManifest.js (100%) rename site/_next/static/{SnwbkhgM7LaNduO1YE0v0 => 1TXU6qFYO42stpeD3xOWG}/_ssgManifest.js (100%) rename site/_next/static/chunks/pages/{[id]-c4995053393e27ea.js => [id]-750b1620e1f48f9b.js} (88%) diff --git a/README.md b/README.md index dc5fbbe2..a3ce6a73 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Conda's Miniconda is a great choice. Follow [these steps](https://conda.io/proje conda activate animated_drawings # clone AnimatedDrawings and use pip to install - git clone git@github.com:fairinternal/AnimatedDrawings.git + git clone git@github.com:facebookresearch/AnimatedDrawings.git cd AnimatedDrawings pip install -e . @@ -162,4 +162,4 @@ If you want to create your own config files, see the [configuration file documen ## As-Rigid-As-Possible Shape Manipulation These characters are deformed using [As-Rigid-As-Possible (ARAP) shape manipulation](https://www-ui.is.s.u-tokyo.ac.jp/~takeo/papers/takeo_jgt09_arapFlattening.pdf). -We have a Python implementation of the algorithm, located [here](https://github.com/fairinternal/AnimatedDrawings/blob/main/animated_drawings/model/arap.py), that might be of use to other developers. +We have a Python implementation of the algorithm, located [here](https://github.com/facebookresearch/AnimatedDrawings/blob/main/animated_drawings/model/arap.py), that might be of use to other developers. diff --git a/sections/home.mdx b/sections/home.mdx index d5c9f40d..b59693d4 100644 --- a/sections/home.mdx +++ b/sections/home.mdx @@ -123,7 +123,7 @@ python image_to_animation.py drawings/garlic.png garlic_out ### Try It Out For Yourself -If you want to learn how to do all this and more, see the [GitHub Readme](https://github.com/fairinternal/AnimatedDrawings/) :) +If you want to learn how to do all this and more, see the [GitHub Readme](https://github.com/facebookresearch/AnimatedDrawings/) :) Alternatively, if you just want to quickly animate your own drawing, try out our browser-based demo, [sketch.metademolab.com](http://sketch.metademolab.com). diff --git a/site.json b/site.json index 6abecf50..7954669f 100644 --- a/site.json +++ b/site.json @@ -14,7 +14,7 @@ "rightNav": [ { "title": "Github", - "url": "https://github.com/fairinternal/AnimatedDrawings" + "url": "https://github.com/facebookresearch/AnimatedDrawings" } ] } diff --git a/site/404.html b/site/404.html index 56fc07dd..85035ec2 100644 --- a/site/404.html +++ b/site/404.html @@ -1 +1 @@ -

404 - Page Not Found :|

\ No newline at end of file +

404 - Page Not Found :|

\ No newline at end of file diff --git a/site/_next/data/SnwbkhgM7LaNduO1YE0v0/dataset.json b/site/_next/data/1TXU6qFYO42stpeD3xOWG/dataset.json similarity index 100% rename from site/_next/data/SnwbkhgM7LaNduO1YE0v0/dataset.json rename to site/_next/data/1TXU6qFYO42stpeD3xOWG/dataset.json diff --git a/site/_next/data/1TXU6qFYO42stpeD3xOWG/home.json b/site/_next/data/1TXU6qFYO42stpeD3xOWG/home.json new file mode 100644 index 00000000..9df65652 --- /dev/null +++ b/site/_next/data/1TXU6qFYO42stpeD3xOWG/home.json @@ -0,0 +1 @@ +{"pageProps":{"id":"home","mdxSource":{"compiledSource":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n h1: \"h1\",\n h6: \"h6\",\n h2: \"h2\",\n p: \"p\",\n a: \"a\",\n strong: \"strong\",\n pre: \"pre\",\n code: \"code\",\n span: \"span\",\n h3: \"h3\"\n }, _provideComponents(), props.components), {Hero, FeatureSummary, Content, Gallery, Image, Spacer} = _components;\n if (!Content) _missingMdxReference(\"Content\", true);\n if (!FeatureSummary) _missingMdxReference(\"FeatureSummary\", true);\n if (!Gallery) _missingMdxReference(\"Gallery\", true);\n if (!Hero) _missingMdxReference(\"Hero\", true);\n if (!Image) _missingMdxReference(\"Image\", true);\n if (!Spacer) _missingMdxReference(\"Spacer\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(Hero, {\n video: \"/assets/videos/jesse_dance.mp4\",\n layout: \"vertical\",\n children: _jsxs(FeatureSummary, {\n children: [_jsx(_components.h1, {\n children: \"Animated Drawings\"\n }), _jsx(_components.h6, {\n children: \"Create animations starring your own drawn characters. This is an implementation of the algorithm described in the paper, 'A Method for Automatically Animating Children's Drawings of the Human Figure'.\"\n })]\n })\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n spaceBottom: true,\n children: [_jsx(_components.h2, {\n children: \"Animated Drawings\"\n }), _jsx(_components.p, {\n children: \"This repo contains an implementation of the algorithm described in the paper, `A Method for Automatically Animating Children's Drawings of the Human Figure' (currenly under peer review).\"\n }), _jsx(_components.p, {\n children: \"In addition, this repo aims to be a useful creative tool in its own right, allowing you to flexibly create animations starring your own drawn characters.\"\n }), _jsxs(_components.p, {\n children: [\"If you do create something fun with this, let us know! Use hashtag \", _jsx(_components.a, {\n href: \"https://twitter.com/search?q=%23FAIRAnimatedDrawings\",\n children: _jsx(_components.strong, {\n children: \"#FAIRAnimatedDrawings\"\n })\n })]\n })]\n }), \"\\n\", _jsxs(Content, {\n spaceBottom: true,\n children: [_jsx(_components.h2, {\n children: \"Installation\"\n }), _jsx(_components.p, {\n children: \"Installation is quick and easy!\\nYou can install with these simple commands:\"\n }), _jsx(_components.pre, {\n className: \"language-bash\",\n children: _jsxs(_components.code, {\n className: \"language-bash\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"git\"\n }), \" clone https://github.com/facebookresearch/AnimatedDrawings.git\\n\", _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \"cd\"\n }), \" AnimatedDrawings\\npip \", _jsx(_components.span, {\n className: \"token function\",\n children: \"install\"\n }), \" -e \", _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \".\"\n }), \"\\n\"]\n })\n }), _jsxs(_components.p, {\n children: [\"See the \", _jsx(_components.a, {\n href: \"https://github.com/facebookresearch/AnimatedDrawings#readme\",\n children: \"README\"\n }), \" for more details.\"]\n })]\n }), \"\\n\", _jsxs(Content, {\n children: [_jsx(_components.h2, {\n children: \"Using Animated Drawings\"\n }), _jsx(_components.p, {\n children: \"Once you've installed AnimatedDrawings, using it is as simple as importing the package and specifying a configuration file.\\nHere's an example:\"\n }), _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" animated_drawings \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" render\\nrender\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"start\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'./examples/config/mvc/interactive_window_example.yaml'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \"\\n\"]\n })\n }), _jsx(_components.p, {\n children: \"And the resulting window:\"\n })]\n }), \"\\n\", _jsx(Gallery, {\n columns: 1,\n spaceTop: true,\n spaceBottom: true,\n color: \"red-50\",\n children: _jsx(Image, {\n url: \"/assets/images/interactive_window_example.gif\"\n })\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n children: [_jsx(_components.h2, {\n children: \"Options\"\n }), _jsx(_components.p, {\n children: \"By modifying the configuration files, you can switch characters, apply different motions, change output formats, and more!\\nHere are a couple examples:\"\n }), _jsx(Spacer, {\n size: \"xs\"\n }), _jsx(_components.h3, {\n children: \"Transparent GIFs\"\n }), _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" animated_drawings \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" render\\nrender\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"start\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'./examples/config/mvc/export_gif_example.yaml'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \"\\n\"]\n })\n })]\n }), \"\\n\", _jsxs(Gallery, {\n columns: 2,\n color: \"red-50\",\n spaceTop: true,\n spaceBottom: true,\n children: [_jsx(Image, {\n url: \"/assets/images/char3.png\"\n }), _jsx(Image, {\n url: \"/assets/images/gif_export_video.gif\"\n })]\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n children: [_jsx(_components.h3, {\n children: \"Multiple characters in a scene\"\n }), _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" animated_drawings \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" render\\nrender\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"start\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'./examples/config/mvc/multiple_characters_example.yaml'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \"\\n\"]\n })\n })]\n }), \"\\n\", _jsxs(Gallery, {\n columns: 3,\n color: \"red-50\",\n spaceTop: true,\n spaceBottom: true,\n children: [_jsx(Image, {\n url: \"/assets/images/char1.png\"\n }), _jsx(Image, {\n url: \"/assets/images/char2.png\"\n }), _jsx(Image, {\n url: \"/assets/images/multiple_characters_example.gif\"\n })]\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n children: [_jsx(_components.h3, {\n children: \"Adding a background image\"\n }), _jsx(_components.p, {\n children: \"Suppose you'd like to add a background to the animation. You can do so by specifying the image path within the config.\\nRun the following commands from a Python interpreter within the AnimatedDrawings root directory:\"\n }), _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" animated_drawings \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" render\\nrender\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"start\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'./examples/config/mvc/background_example.yaml'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \"\\n\"]\n })\n })]\n }), \"\\n\", _jsxs(Gallery, {\n columns: 2,\n color: \"red-50\",\n spaceTop: true,\n spaceBottom: true,\n children: [_jsx(Image, {\n url: \"/assets/images/char4_original_image.png\"\n }), _jsx(Image, {\n url: \"/assets/images/background_example.gif\"\n })]\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n children: [_jsx(_components.h3, {\n children: \"Animate Your Own Drawing\"\n }), _jsx(_components.p, {\n children: \"We also provide scripts and models so you can animate your own drawings with a single command:\"\n }), _jsx(_components.pre, {\n className: \"language-bash\",\n children: _jsx(_components.code, {\n className: \"language-bash\",\n children: \"python image_to_animation.py drawings/garlic.png garlic_out\\n\"\n })\n })]\n }), \"\\n\", _jsxs(Gallery, {\n columns: 2,\n color: \"red-50\",\n spaceTop: true,\n spaceBottom: true,\n children: [_jsx(Image, {\n url: \"/assets/images/garlic.png\"\n }), _jsx(Image, {\n url: \"/assets/images/garlic.gif\"\n })]\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n children: [_jsx(_components.h3, {\n children: \"Try It Out For Yourself\"\n }), _jsxs(_components.p, {\n children: [\"If you want to learn how to do all this and more, see the \", _jsx(_components.a, {\n href: \"https://github.com/facebookresearch/AnimatedDrawings/\",\n children: \"GitHub Readme\"\n }), \" :)\"]\n }), _jsxs(_components.p, {\n children: [\"Alternatively, if you just want to quickly animate your own drawing, try out our browser-based demo, \", _jsx(_components.a, {\n href: \"http://sketch.metademolab.com\",\n children: \"sketch.metademolab.com\"\n }), \".\"]\n })]\n }), \"\\n\", _jsx(Gallery, {\n columns: 1,\n spaceBottom: true,\n children: _jsx(Image, {\n url: \"/assets/images/sketch_demo.jpg\"\n })\n }), \"\\n\", _jsxs(Content, {\n spaceBottom: true,\n children: [_jsx(_components.h3, {\n children: \"Get In Touch\"\n }), _jsxs(_components.p, {\n children: [\"If you want to contact the project author directly, you can reach me on Twitter: \", _jsx(_components.a, {\n href: \"https://twitter.com/hjessmith\",\n children: \"@hjessmith\"\n }), \".\"]\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{}},"currentMetaData":{"title":"Home","order":0,"id":"home"},"allMetaData":[{"id":"home","title":"Home","order":0},{"id":"paper","title":"Paper","order":1},{"id":"dataset","title":"Dataset","order":2}]},"__N_SSG":true} \ No newline at end of file diff --git a/site/_next/data/SnwbkhgM7LaNduO1YE0v0/index.json b/site/_next/data/1TXU6qFYO42stpeD3xOWG/index.json similarity index 100% rename from site/_next/data/SnwbkhgM7LaNduO1YE0v0/index.json rename to site/_next/data/1TXU6qFYO42stpeD3xOWG/index.json diff --git a/site/_next/data/SnwbkhgM7LaNduO1YE0v0/paper.json b/site/_next/data/1TXU6qFYO42stpeD3xOWG/paper.json similarity index 100% rename from site/_next/data/SnwbkhgM7LaNduO1YE0v0/paper.json rename to site/_next/data/1TXU6qFYO42stpeD3xOWG/paper.json diff --git a/site/_next/data/SnwbkhgM7LaNduO1YE0v0/tos.json b/site/_next/data/1TXU6qFYO42stpeD3xOWG/tos.json similarity index 100% rename from site/_next/data/SnwbkhgM7LaNduO1YE0v0/tos.json rename to site/_next/data/1TXU6qFYO42stpeD3xOWG/tos.json diff --git a/site/_next/data/SnwbkhgM7LaNduO1YE0v0/home.json b/site/_next/data/SnwbkhgM7LaNduO1YE0v0/home.json deleted file mode 100644 index 2beddb16..00000000 --- a/site/_next/data/SnwbkhgM7LaNduO1YE0v0/home.json +++ /dev/null @@ -1 +0,0 @@ -{"pageProps":{"id":"home","mdxSource":{"compiledSource":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n h1: \"h1\",\n h6: \"h6\",\n h2: \"h2\",\n p: \"p\",\n a: \"a\",\n strong: \"strong\",\n pre: \"pre\",\n code: \"code\",\n span: \"span\",\n h3: \"h3\"\n }, _provideComponents(), props.components), {Hero, FeatureSummary, Content, Gallery, Image, Spacer} = _components;\n if (!Content) _missingMdxReference(\"Content\", true);\n if (!FeatureSummary) _missingMdxReference(\"FeatureSummary\", true);\n if (!Gallery) _missingMdxReference(\"Gallery\", true);\n if (!Hero) _missingMdxReference(\"Hero\", true);\n if (!Image) _missingMdxReference(\"Image\", true);\n if (!Spacer) _missingMdxReference(\"Spacer\", true);\n return _jsxs(_Fragment, {\n children: [_jsx(Hero, {\n video: \"/assets/videos/jesse_dance.mp4\",\n layout: \"vertical\",\n children: _jsxs(FeatureSummary, {\n children: [_jsx(_components.h1, {\n children: \"Animated Drawings\"\n }), _jsx(_components.h6, {\n children: \"Create animations starring your own drawn characters. This is an implementation of the algorithm described in the paper, 'A Method for Automatically Animating Children's Drawings of the Human Figure'.\"\n })]\n })\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n spaceBottom: true,\n children: [_jsx(_components.h2, {\n children: \"Animated Drawings\"\n }), _jsx(_components.p, {\n children: \"This repo contains an implementation of the algorithm described in the paper, `A Method for Automatically Animating Children's Drawings of the Human Figure' (currenly under peer review).\"\n }), _jsx(_components.p, {\n children: \"In addition, this repo aims to be a useful creative tool in its own right, allowing you to flexibly create animations starring your own drawn characters.\"\n }), _jsxs(_components.p, {\n children: [\"If you do create something fun with this, let us know! Use hashtag \", _jsx(_components.a, {\n href: \"https://twitter.com/search?q=%23FAIRAnimatedDrawings\",\n children: _jsx(_components.strong, {\n children: \"#FAIRAnimatedDrawings\"\n })\n })]\n })]\n }), \"\\n\", _jsxs(Content, {\n spaceBottom: true,\n children: [_jsx(_components.h2, {\n children: \"Installation\"\n }), _jsx(_components.p, {\n children: \"Installation is quick and easy!\\nYou can install with these simple commands:\"\n }), _jsx(_components.pre, {\n className: \"language-bash\",\n children: _jsxs(_components.code, {\n className: \"language-bash\",\n children: [_jsx(_components.span, {\n className: \"token function\",\n children: \"git\"\n }), \" clone git@github.com:fairinternal/AnimatedDrawings.git\\n\", _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \"cd\"\n }), \" AnimatedDrawings\\npip \", _jsx(_components.span, {\n className: \"token function\",\n children: \"install\"\n }), \" -e \", _jsx(_components.span, {\n className: \"token builtin class-name\",\n children: \".\"\n }), \"\\n\"]\n })\n }), _jsxs(_components.p, {\n children: [\"See the \", _jsx(_components.a, {\n href: \"https://github.com/facebookresearch/AnimatedDrawings#readme\",\n children: \"README\"\n }), \" for more details.\"]\n })]\n }), \"\\n\", _jsxs(Content, {\n children: [_jsx(_components.h2, {\n children: \"Using Animated Drawings\"\n }), _jsx(_components.p, {\n children: \"Once you've installed AnimatedDrawings, using it is as simple as importing the package and specifying a configuration file.\\nHere's an example:\"\n }), _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" animated_drawings \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" render\\nrender\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"start\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'./examples/config/mvc/interactive_window_example.yaml'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \"\\n\"]\n })\n }), _jsx(_components.p, {\n children: \"And the resulting window:\"\n })]\n }), \"\\n\", _jsx(Gallery, {\n columns: 1,\n spaceTop: true,\n spaceBottom: true,\n color: \"red-50\",\n children: _jsx(Image, {\n url: \"/assets/images/interactive_window_example.gif\"\n })\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n children: [_jsx(_components.h2, {\n children: \"Options\"\n }), _jsx(_components.p, {\n children: \"By modifying the configuration files, you can switch characters, apply different motions, change output formats, and more!\\nHere are a couple examples:\"\n }), _jsx(Spacer, {\n size: \"xs\"\n }), _jsx(_components.h3, {\n children: \"Transparent GIFs\"\n }), _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" animated_drawings \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" render\\nrender\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"start\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'./examples/config/mvc/export_gif_example.yaml'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \"\\n\"]\n })\n })]\n }), \"\\n\", _jsxs(Gallery, {\n columns: 2,\n color: \"red-50\",\n spaceTop: true,\n spaceBottom: true,\n children: [_jsx(Image, {\n url: \"/assets/images/char3.png\"\n }), _jsx(Image, {\n url: \"/assets/images/gif_export_video.gif\"\n })]\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n children: [_jsx(_components.h3, {\n children: \"Multiple characters in a scene\"\n }), _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" animated_drawings \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" render\\nrender\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"start\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'./examples/config/mvc/multiple_characters_example.yaml'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \"\\n\"]\n })\n })]\n }), \"\\n\", _jsxs(Gallery, {\n columns: 3,\n color: \"red-50\",\n spaceTop: true,\n spaceBottom: true,\n children: [_jsx(Image, {\n url: \"/assets/images/char1.png\"\n }), _jsx(Image, {\n url: \"/assets/images/char2.png\"\n }), _jsx(Image, {\n url: \"/assets/images/multiple_characters_example.gif\"\n })]\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n children: [_jsx(_components.h3, {\n children: \"Adding a background image\"\n }), _jsx(_components.p, {\n children: \"Suppose you'd like to add a background to the animation. You can do so by specifying the image path within the config.\\nRun the following commands from a Python interpreter within the AnimatedDrawings root directory:\"\n }), _jsx(_components.pre, {\n className: \"language-python\",\n children: _jsxs(_components.code, {\n className: \"language-python\",\n children: [_jsx(_components.span, {\n className: \"token keyword\",\n children: \"from\"\n }), \" animated_drawings \", _jsx(_components.span, {\n className: \"token keyword\",\n children: \"import\"\n }), \" render\\nrender\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \".\"\n }), \"start\", _jsx(_components.span, {\n className: \"token punctuation\",\n children: \"(\"\n }), _jsx(_components.span, {\n className: \"token string\",\n children: \"'./examples/config/mvc/background_example.yaml'\"\n }), _jsx(_components.span, {\n className: \"token punctuation\",\n children: \")\"\n }), \"\\n\"]\n })\n })]\n }), \"\\n\", _jsxs(Gallery, {\n columns: 2,\n color: \"red-50\",\n spaceTop: true,\n spaceBottom: true,\n children: [_jsx(Image, {\n url: \"/assets/images/char4_original_image.png\"\n }), _jsx(Image, {\n url: \"/assets/images/background_example.gif\"\n })]\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n children: [_jsx(_components.h3, {\n children: \"Animate Your Own Drawing\"\n }), _jsx(_components.p, {\n children: \"We also provide scripts and models so you can animate your own drawings with a single command:\"\n }), _jsx(_components.pre, {\n className: \"language-bash\",\n children: _jsx(_components.code, {\n className: \"language-bash\",\n children: \"python image_to_animation.py drawings/garlic.png garlic_out\\n\"\n })\n })]\n }), \"\\n\", _jsxs(Gallery, {\n columns: 2,\n color: \"red-50\",\n spaceTop: true,\n spaceBottom: true,\n children: [_jsx(Image, {\n url: \"/assets/images/garlic.png\"\n }), _jsx(Image, {\n url: \"/assets/images/garlic.gif\"\n })]\n }), \"\\n\", _jsxs(Content, {\n spaceTop: true,\n children: [_jsx(_components.h3, {\n children: \"Try It Out For Yourself\"\n }), _jsxs(_components.p, {\n children: [\"If you want to learn how to do all this and more, see the \", _jsx(_components.a, {\n href: \"https://github.com/fairinternal/AnimatedDrawings/\",\n children: \"GitHub Readme\"\n }), \" :)\"]\n }), _jsxs(_components.p, {\n children: [\"Alternatively, if you just want to quickly animate your own drawing, try out our browser-based demo, \", _jsx(_components.a, {\n href: \"http://sketch.metademolab.com\",\n children: \"sketch.metademolab.com\"\n }), \".\"]\n })]\n }), \"\\n\", _jsx(Gallery, {\n columns: 1,\n spaceBottom: true,\n children: _jsx(Image, {\n url: \"/assets/images/sketch_demo.jpg\"\n })\n }), \"\\n\", _jsxs(Content, {\n spaceBottom: true,\n children: [_jsx(_components.h3, {\n children: \"Get In Touch\"\n }), _jsxs(_components.p, {\n children: [\"If you want to contact the project author directly, you can reach me on Twitter: \", _jsx(_components.a, {\n href: \"https://twitter.com/hjessmith\",\n children: \"@hjessmith\"\n }), \".\"]\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\nfunction _missingMdxReference(id, component) {\n throw new Error(\"Expected \" + (component ? \"component\" : \"object\") + \" `\" + id + \"` to be defined: you likely forgot to import, pass, or provide it.\");\n}\n","frontmatter":{},"scope":{}},"currentMetaData":{"title":"Home","order":0,"id":"home"},"allMetaData":[{"id":"home","title":"Home","order":0},{"id":"paper","title":"Paper","order":1},{"id":"dataset","title":"Dataset","order":2}]},"__N_SSG":true} \ No newline at end of file diff --git a/site/_next/static/SnwbkhgM7LaNduO1YE0v0/_buildManifest.js b/site/_next/static/1TXU6qFYO42stpeD3xOWG/_buildManifest.js similarity index 87% rename from site/_next/static/SnwbkhgM7LaNduO1YE0v0/_buildManifest.js rename to site/_next/static/1TXU6qFYO42stpeD3xOWG/_buildManifest.js index d28f52d5..33f7937e 100644 --- a/site/_next/static/SnwbkhgM7LaNduO1YE0v0/_buildManifest.js +++ b/site/_next/static/1TXU6qFYO42stpeD3xOWG/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-8e619d32fa2f6d74.js"],"/404":["static/chunks/pages/404-9af1ba239956f015.js"],"/_error":["static/chunks/pages/_error-1995526792b513b2.js"],"/[id]":["static/chunks/78e521c3-1390b5ab1cb0b72a.js","static/chunks/441-46fe14c60cc637bd.js","static/chunks/pages/[id]-c4995053393e27ea.js"],sortedPages:["/","/404","/_app","/_error","/[id]"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/pages/index-8e619d32fa2f6d74.js"],"/404":["static/chunks/pages/404-9af1ba239956f015.js"],"/_error":["static/chunks/pages/_error-1995526792b513b2.js"],"/[id]":["static/chunks/78e521c3-1390b5ab1cb0b72a.js","static/chunks/441-46fe14c60cc637bd.js","static/chunks/pages/[id]-750b1620e1f48f9b.js"],sortedPages:["/","/404","/_app","/_error","/[id]"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/site/_next/static/SnwbkhgM7LaNduO1YE0v0/_middlewareManifest.js b/site/_next/static/1TXU6qFYO42stpeD3xOWG/_middlewareManifest.js similarity index 100% rename from site/_next/static/SnwbkhgM7LaNduO1YE0v0/_middlewareManifest.js rename to site/_next/static/1TXU6qFYO42stpeD3xOWG/_middlewareManifest.js diff --git a/site/_next/static/SnwbkhgM7LaNduO1YE0v0/_ssgManifest.js b/site/_next/static/1TXU6qFYO42stpeD3xOWG/_ssgManifest.js similarity index 100% rename from site/_next/static/SnwbkhgM7LaNduO1YE0v0/_ssgManifest.js rename to site/_next/static/1TXU6qFYO42stpeD3xOWG/_ssgManifest.js diff --git a/site/_next/static/chunks/pages/[id]-c4995053393e27ea.js b/site/_next/static/chunks/pages/[id]-750b1620e1f48f9b.js similarity index 88% rename from site/_next/static/chunks/pages/[id]-c4995053393e27ea.js rename to site/_next/static/chunks/pages/[id]-750b1620e1f48f9b.js index ef81d4b1..813eb717 100644 --- a/site/_next/static/chunks/pages/[id]-c4995053393e27ea.js +++ b/site/_next/static/chunks/pages/[id]-750b1620e1f48f9b.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[112],{7005:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[id]",function(){return r(1925)}])},1925:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return X},default:function(){return Z}});var c=r(5893),n=r(3659),a=r(9008),s=r(4051),l=r.n(s),i=r(9508),o=r(1664),d=r.n(o),m=r(5675),x=r.n(m);function u(e){var t=e.src;return"".concat("/site","/assets/").concat(t)}function h(e){return"".concat("/site").concat(e)}var f=r(9352);function p(e,t,r,c,n,a,s){try{var l=e[a](s),i=l.value}catch(o){return void r(o)}l.done?t(i):Promise.resolve(i).then(c,n)}var v=r(5272);function g(e){var t=e.items,r=e.selected,n=v.theme;return(0,c.jsx)(i.p,{as:"nav",className:"bg-white md:shadow",children:function(e){var a,s=e.open;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{className:"max-w-screen-xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,c.jsxs)("div",{className:"flex justify-between h-16",children:[(0,c.jsxs)("div",{className:"flex",children:[(a=(0,c.jsx)(x(),{src:v.logo,alt:"logo",height:32,width:32,loader:u}),v.showHomeLink?(0,c.jsx)("div",{className:"flex-shrink-0 flex items-center cursor-pointer",children:a}):(0,c.jsx)(d(),{href:"/home",passHref:!0,children:(0,c.jsx)("div",{className:"flex-shrink-0 flex items-center cursor-pointer",children:a})})),(0,c.jsx)("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:t&&t.map((function(e){return v.showHomeLink||"home"!==e.id?(0,c.jsx)(d(),{href:"/".concat(e.id),passHref:!0,children:(0,c.jsx)("a",{className:"".concat(r===e.id?"text-".concat(n,"-700"):""," hover:text-").concat(n,"-500 text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-semibold"),children:e.title})},e.id):null}))})]}),(0,c.jsx)("div",{className:"hidden sm:ml-6 sm:flex sm:space-x-8",children:v.rightNav&&v.rightNav.map((function(e){return(0,c.jsxs)("a",{href:e.url,className:"text-gray-900 hover:text-".concat(n,"-500 ml-6 inline-flex items-center px-1 pt-1 text-sm font-semibold"),target:"_blank",children:[e.title,"\xa0",(0,c.jsx)(f.wpV,{})]},e.title)}))}),(0,c.jsx)("div",{className:"-mr-2 flex items-center sm:hidden",children:(0,c.jsxs)(i.p.Button,{className:"inline-flex items-center justify-center p-2 rounded-md text-gray-900",children:[(0,c.jsx)("span",{className:"sr-only",children:"Open main menu"}),s?(0,c.jsx)(f.qGf,{className:"block h-6 w-6","aria-hidden":"true"}):(0,c.jsx)(f._yl,{className:"block h-6 w-6","aria-hidden":"true"})]})})]})}),(0,c.jsx)(i.p.Panel,{className:"sm:hidden",children:function(e){var a=e.close;return(0,c.jsxs)("div",{className:"pt-2 pb-3 space-y-1 absolute left-0 right-0 z-50 bg-white shadow-xl",children:[t&&t.map((function(e){return v.showHomeLink||"home"!==e.id?(0,c.jsx)(d(),{href:"/".concat(e.id),passHref:!0,prefetch:!0,children:(0,c.jsx)(i.p.Button,{as:"a",onClick:(t=l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",setTimeout(a,500));case 1:case"end":return e.stop()}}),e)})),function(){var e=this,r=arguments;return new Promise((function(c,n){var a=t.apply(e,r);function s(e){p(a,c,n,s,l,"next",e)}function l(e){p(a,c,n,s,l,"throw",e)}s(void 0)}))}),className:"".concat(r===e.id?"bg-".concat(n,"-50 text-").concat(n,"-700"):"text-gray-900"," block pl-5 pr-4 py-2 text-base font-semibold"),children:e.title})},e.id):null;var t})),v.rightNav&&v.rightNav.map((function(e){return(0,c.jsxs)(i.p.Button,{as:"a",href:e.url,className:"text-gray-900 block pl-5 pr-4 py-2 border-none text-base font-semibold",children:[e.title,(0,c.jsx)("span",{className:"inline-block align-middle",children:(0,c.jsx)(f.wpV,{})})]},e.title)}))]})}})]})}})}function j(e){var t=e.url,r=e.youtubeId,n=e.aspectRatio,a=void 0===n?"wide":n,s=e.controls,l=void 0===s||s,i=e.autoPlay,o=void 0!==i&&i,d=e.loop,m=void 0===d||d,x=e.muted,u=void 0===x||x,f=e.poster,p=e.alt,v=void 0===p?"":p,g=e.style,j=e.className,b="wide"===a?"aspect-w-16 aspect-h-9":"square"===a?"aspect-w-9 aspect-h-9":"aspect-w-4 aspect-h-3",y="";return"fill"===a&&(b="absolute object-cover right-0 bottom-0 min-w-full min-h-full h-full",y="w-full h-full object-cover object-center"),r?(0,c.jsx)("div",{className:"comp_video w-full ".concat(b," ").concat(j),style:g,children:(0,c.jsx)("iframe",{src:"https://www.youtube.com/embed/".concat(r,"?&autoplay=").concat(o?1:0,"&controls=").concat(l?1:0,"&mute=").concat(u),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:v})}):(0,c.jsx)("div",{className:"comp_video w-full ".concat(b),style:g,children:(0,c.jsxs)("video",{controls:l,autoPlay:o,loop:m,muted:u,title:v,poster:f,className:"m-0 ".concat(y),children:[(0,c.jsx)("source",{src:h(t),type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos."]})})}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=r(5272);var w=r(5272);var N=r(1983),k=r(5272);var _=r(7294);function O(e,t){for(var r=[],c=0;c1?y.md?a[1]:a[0]:a,N=_.Children.count(p),k=N<2,S=N/w,B=k?[]:"vertical"===l?O(p,S):function(e){for(var t=[],r=0,c=e[0].length;r1?y.md?a[1]:a[0]:a,N=_.Children.count(p),k=N<2,S=N/w,B=k?[]:"vertical"===l?O(p,S):function(e){for(var t=[],r=0,c=e[0].length;rFAIR Animated Drawings: Dataset

Dataset

Details coming soon...

\ No newline at end of file +FAIR Animated Drawings: Dataset

Dataset

Details coming soon...

\ No newline at end of file diff --git a/site/home.html b/site/home.html index 8d3ff76a..762fb8d1 100644 --- a/site/home.html +++ b/site/home.html @@ -1,7 +1,7 @@ -FAIR Animated Drawings: Home

Animated Drawings

Create animations starring your own drawn characters. This is an implementation of the algorithm described in the paper, 'A Method for Automatically Animating Children's Drawings of the Human Figure'.
+FAIR Animated Drawings: Home

Animated Drawings

Create animations starring your own drawn characters. This is an implementation of the algorithm described in the paper, 'A Method for Automatically Animating Children's Drawings of the Human Figure'.

Animated Drawings

This repo contains an implementation of the algorithm described in the paper, `A Method for Automatically Animating Children's Drawings of the Human Figure' (currenly under peer review).

In addition, this repo aims to be a useful creative tool in its own right, allowing you to flexibly create animations starring your own drawn characters.

If you do create something fun with this, let us know! Use hashtag #FAIRAnimatedDrawings

Installation

Installation is quick and easy! -You can install with these simple commands:

git clone git@github.com:fairinternal/AnimatedDrawings.git
+You can install with these simple commands:

git clone https://github.com/facebookresearch/AnimatedDrawings.git
 cd AnimatedDrawings
 pip install -e .
 

See the README for more details.

@@ -27,6 +27,6 @@

Animate Your Own Drawing

We also provide scripts and models so you can animate your own drawings with a single command:

python image_to_animation.py drawings/garlic.png garlic_out
 
-

Try It Out For Yourself

If you want to learn how to do all this and more, see the GitHub Readme :)

Alternatively, if you just want to quickly animate your own drawing, try out our browser-based demo, sketch.metademolab.com.

+

Try It Out For Yourself

If you want to learn how to do all this and more, see the GitHub Readme :)

Alternatively, if you just want to quickly animate your own drawing, try out our browser-based demo, sketch.metademolab.com.

-

Get In Touch

If you want to contact the project author directly, you can reach me on Twitter: @hjessmith.

\ No newline at end of file +

Get In Touch

If you want to contact the project author directly, you can reach me on Twitter: @hjessmith.

\ No newline at end of file diff --git a/site/index.html b/site/index.html index 017bbba4..95a78eaf 100644 --- a/site/index.html +++ b/site/index.html @@ -1 +1 @@ -

Redirecting to homepage

\ No newline at end of file +

Redirecting to homepage

\ No newline at end of file diff --git a/site/paper.html b/site/paper.html index bbf0632f..c9216340 100644 --- a/site/paper.html +++ b/site/paper.html @@ -1 +1 @@ -FAIR Animated Drawings: Paper

Paper

Details coming soon...

\ No newline at end of file +FAIR Animated Drawings: Paper

Paper

Details coming soon...

\ No newline at end of file diff --git a/site/tos.html b/site/tos.html index 2a2e29e0..082e3001 100644 --- a/site/tos.html +++ b/site/tos.html @@ -1,2 +1,2 @@ -FAIR Animated Drawings: Terms of Service

Terms of Service

Released under Attribution-NonCommercial 4.0 license. -See GitHub Repo for more details.

\ No newline at end of file +FAIR Animated Drawings: Terms of Service

Terms of Service

Released under Attribution-NonCommercial 4.0 license. +See GitHub Repo for more details.

\ No newline at end of file diff --git a/torchserve/torchserve/model-store/README.md b/torchserve/torchserve/model-store/README.md index a14e35af..a215e530 100644 --- a/torchserve/torchserve/model-store/README.md +++ b/torchserve/torchserve/model-store/README.md @@ -1,4 +1,4 @@ -1. Navigate to the following URL: https://github.com/fairinternal/AnimatedDrawings/releases/tag/v0.0.1-alpha +1. Navigate to the following URL: https://github.com/facebookresearch/AnimatedDrawings/releases/tag/v0.0.1-alpha 2. Download `drawn_humanoid_detector.mar` and `drawn_humanoid_pose_estimator.mar` 3. Place them inside this directory: `AnimatedDrawings/torchserve/torchserve/model-store/`