llnl / llnl/macc

Using CycleGAN with physical inconsistency loss for a numerical problem

Open
#2 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
30
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Hi Rushil,
Greetings. I am trying to use your CycleGAN architecture with physical inconsistency loss in my master thesis at Airbus. For this project, we have to generate a large nr. of synthetic samples (basically transform the output from a CFD Solver) that match the distribution of some real-world lab test points (which are very sparse and limited). The data points are numerical values and there are no images to generate here for the CycleGAN. This idea is explained in the image below where the dotted green line was drawn by hand.
![CycleGAN_ToyProblem_ExpectedOutput](https://user-images.githubusercontent.com/20330371/73075794-04e3cb00-3ebd-11ea-8d93-14bd30b43152.jpg)

We made a small toy problem where I use normal CycleGAN and documented some notes and observations. You can find the toy problem and the notes in the links below, in case you want to know additional details.
i.) [CycleGAN - Toy Problem](https://colab.research.google.com/drive/1IgipvRe7rFzijN316t2fD3sdMScjFwMM)
ii.) [CycleGAN - Notes](https://drive.google.com/file/d/1eZF3JWGowDOm8HzNkc6CJBeATTxFjoA1/view?usp=sharing)

I have a few clarifications for which I would like to request your kind feedback:
1.) Do you think your _CycleGAN architecture with physical inconsistency loss_ will help in my case to achieve the intended goal (as in the above image) of transforming the simulation points to look like real-world lab test points?
2.) Would it be possible for you to share the [tensorflow implementation of your CycleGAN](https://github.com/rushilanirudh/macc/blob/master/modelsv2.py) in Keras or at least give me pointers for translating your tensor flow code for the discriminator, generator and your `def_run()` function with physical inconsistency loss into the Keras style code as in my Toy Problem?

Best Regards,
Dilip

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading modelsv2.py and comparing its discriminator, generator, and def_run() implementation with the linked Colab toy problem and notes. Before making changes, clarify whether the expected outcome is feasibility guidance, a Keras translation, or both; completion criteria are not defined in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.