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
Synthetic multi view facial generator #94
Conversation
@ekakalet testing is now available again. So, when you are ready, you can use the "test sources" label to run the style checks and "test tools" to run the tool tests. |
This PR is ready for review. |
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.
Thank you.
I would add the license header to all the files developed in the OpenDR project also the ones in the projects
folder.
This is the way you will set the copyright otherwise they won't have any owner.
projects/data_generation/synthetic-multi-view-facial-image-generation/requirements.txt
Outdated
Show resolved
Hide resolved
...ata_generation/synthetic-multi-view-facial-image-generation/3ddfa/SyntheticDataGeneration.py
Outdated
Show resolved
Hide resolved
...generation/synthetic-multi-view-facial-image-generation/3ddfa/testSyntheticDataGeneration.py
Outdated
Show resolved
Hide resolved
projects/data_generation/synthetic-multi-view-facial-image-generation/README.md
Outdated
Show resolved
Hide resolved
projects/data_generation/synthetic-multi-view-facial-image-generation/README.md
Outdated
Show resolved
Hide resolved
projects/data_generation/synthetic-multi-view-facial-image-generation/README.md
Outdated
Show resolved
Hide resolved
projects/data_generation/synthetic-multi-view-facial-image-generation/README.md
Outdated
Show resolved
Hide resolved
projects/data_generation/synthetic-multi-view-facial-image-generation/README.md
Outdated
Show resolved
Hide resolved
The code in "opendr_internal/projects/data_generation/synthetic-multi-view-facial-image-generation/" is borrowed from another github repo (see README file). There are some doubts for the incorporation of license header. Only 3ddfa/SyntheticDataGeneration.py, testSyntheticDataGeneration.py, path_helper.py,path_helper2.py were produced in OPENDR |
What do you mean by "borrowed"? In case you did some modifications, you have to also copy the LICENSE file from the original repository and better specify which modifications did you apply. Honestly from the README.md it is not very clear which files are copied and this is not good. |
Done. I have copied the license (in the README file) from the original repo that I used the code and I have mentioned its minor modifications and the original OPENDR functions. If there are issues, please let me know. |
I'm not sure to understand which I think that for each repository from where you copied some files, you should create a separate folder for the code and include the original LICENSE file taken from the source repository. Additionally could you please also resolve the conflicts with the master branch? |
Indeed, the file |
Well, to me it doesn't seem correct. The "SyncBN" and "3DDFA" code is released under MIT license.
So you have to copy the "SyncBN/3DDFA" MIT license alongside with the code you take from these repository, but for example in "3ddfa" folder I cannot find any reference to MIT license in this PR. |
Hi, is this PR ready for review? (conflict aside) |
Hi. yes this PR is ready for review. |
Hi, can I ask you to resync your branch with master? (and solve the conflicts) Also I've noticed that there are many files that have been committed which I don't think are really needed (*.ply, *.mat, bash files, I put the PR back on draft, whenever it's ready please let us know. |
The PR was cleaned-up in the way that might be functional as a whole software structure with embedded respective paths and scripts' names in the folders of code. The scripts' renaming was done where it was permitted by the fact that they were used by internal parts of code. The use of code classes are described in the README file. |
@ad-daniel With the latest modifications and bug fixes on the current version of this PR (without creating a new PR), it seems now to work |
Awesome! Thanks for your effort. |
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.
Thank you! Just a few comments here and there:
I don't see a reason to push these folders into our repo, it just bloats the tookit:
- projects/data_generation/synthetic_multi_view_facial_image_generation/algorithm/Rotate_and_Render/misc/
Similarly, do we need to keep all files under here ?
- projects/data_generation/synthetic_multi_view_facial_image_generation/algorithm/DDFA/train.configs/
One of them is 25 MB, if it isn't used for our purpose, we shouldn't be including it.
EDIT: we should also add an entry in the changelog about this addition
...ration/synthetic_multi_view_facial_image_generation/algorithm/DDFA/BFM_Remove_Neck/readme.md
Show resolved
Hide resolved
..._generation/synthetic_multi_view_facial_image_generation/tool_synthetic_facial_generation.py
Outdated
Show resolved
Hide resolved
projects/data_generation/synthetic_multi_view_facial_image_generation/README.md
Show resolved
Hide resolved
Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
…eration/README.md Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
…eration/README.md Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
…eration/SyntheticDataGeneration.py Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
…eration/tool_synthetic_facial_generation.py Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
…eration/README.md Co-authored-by: ad-daniel <44834743+ad-daniel@users.noreply.github.com>
…eration/algorithm/Rotate_and_Render/misc directory
…eration/algorithm/DDFA/train.configs directory
The first folder is not necessary and the second we can add it as says the README file. @ad-daniel The changes are resolved. |
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.
Thank you!
@passalis This PR is ready for the second review. |
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.
This is also fine with me. Thank you!
This is a PR for synthetic multi-view facial image generator which will be a standalone tool of OPENDR generating data (facial images) for procedures such as e.g. training.