Giter Club home page Giter Club logo

neural-flow-style's Introduction

Lagrangian Neural Style Transfer for Fluids

Tensorflow implementation of Lagrangian Neural Style Transfer for Fluids.

Byungsoo Kim, Vinicius C. Azevedo, Markus Gross, Barbara Solenthaler

Computer Graphics Laboratory, ETH Zurich

teaser

(Note that Transport-Based Neural Style Transfer for Smoke Simulations (TNST) implementation is moved to tnst branch.)

Requirements

This code is tested on Windows 10 with GTX 1080 (8GB) and the following requirements:

Run setup.bat for setup. (3rd parties must be installed manually).

Also download the pre-trained inception and vgg19 networks, and unzip it in data/model.

Usage

For details about parameters and examples, please take a closer look at run.bat and corresponding demo code, and for semantic transfer, see this page for pattern selection.

Results (smokegun, single frame)

single

Results (chocolate, sequence)

sequence

Results (dambreak2d, sequence)

sequence

Author

Byungsoo Kim / byungsook@github

neural-flow-style's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

neural-flow-style's Issues

Houdini Plugin - Hangs on New Stylization

Hello,

I need help when I clicked on "New Stylization" its just hangs.

Info of the setup, I modified your setup.bat, not to use virtual env.

Windows 10
Houdini 16.5.571
Tensorflow 1.12
manta 0.12
Titan X (Pascal)
Nvidia Driver 441.20
Cuda 9.0
cudnn 7.6.4.38
Python 3.6.8

====Houdini Console Log=====

Styler Initialized
2019-12-05 12:04:52.426992: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2019-12-05 12:04:52.533628: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties:
name: TITAN X (Pascal) major: 6 minor: 1 memoryClockRate(GHz): 1.531
pciBusID: 0000:01:00.0
totalMemory: 12.00GiB freeMemory: 9.95GiB
2019-12-05 12:04:52.533950: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0
2019-12-05 12:04:53.259440: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-12-05 12:04:53.259638: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988] 0
2019-12-05 12:04:53.259745: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0: N
2019-12-05 12:04:53.259975: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 9623 MB memory) -> physical GPU (device: 0, name: TITAN X (Pascal), pci bus id: 0000:01:00.0, compute capability: 6.1)

=====End of Console Log======

bunny dataset

Congratulations on the cool work! Would you like to share your bunny dataset used in TNST?

Need help with partio installation

Hi,
I know this might not be the right place to post this but I am facing a lot of issues making Partio work.
I followed the instructions on partio github page. (https://github.com/wdas/partio)
However, when I try to run the dambreak example I get an error saying 'AttributeError: module 'Partio' has no attribute 'read'.
I wonder if this has anything to do with these lines in setup.bat file

REM REM download freeglut (MSVC) for compiling partio
REM https://www.transmissionzero.co.uk/files/software/development/GLUT/freeglut-MSVC.zip

REM REM download swig for partio python-binding
REM http://prdownloads.sourceforge.net/swig/swigwin-4.0.2.zip

REM Note for partio compile
REM Note1: uncheck BUILD_SHARED_LIBS
REM Note2: remove None/None.lib; from Linker-Input of _partio PropertyPages.
REM Note3: copy build/py/partio.py to build/py/Release

I am working on a machine running Ubuntu.

Any help would be appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.