GithubHelp home page GithubHelp logo

Comments (5)

Cholezlh avatar Cholezlh commented on July 25, 2024 1

I use your new pushed code, It worked very good.Thanks for your work again. just feel free to post the video :)

from mobilenerf-unity-viewer.

julienkay avatar julienkay commented on July 25, 2024

Hey! Pretty cool that you've managed to train your own data! It's currently not easy to import your own files, but it should not be too difficult to add that.

I can do it, but I would need some help with what the output looks like for you. Did you use the official code to train the MobileNeRF?
Would it be possible for you to send me the output files? (I understand if that's not possible)

Imho the easiest way would be if we agree to put all the assets in a folder and use the same naming convention that the demo scenes use:

  • OBJ files with naming convention: shapeX_Y.obj
  • multiple PNG files with naming convention: shapeX.pngfeatZ.png (where Z goes from 0 to 1, so 2 .pngs per shape)
  • The weights of the MLP in a file called mlp.json

Then I can implement a menu that lets you choose a folder with source assets, which will automatically import all these.

Let me know if that looks god to you.

from mobilenerf-unity-viewer.

julienkay avatar julienkay commented on July 25, 2024

I created a branch Custom_Data
It has a new menu: MobileNeRF -> Import from disk
Feel free to try it and report any issues that you might find.

from mobilenerf-unity-viewer.

Cholezlh avatar Cholezlh commented on July 25, 2024

sorry for late relay.this is trained materials through official mobileNeRF, https://drive.google.com/file/d/1R3-vHWrLZEauaX7bGWXwJ4yFLdSRxuME/view?usp=sharing, and the data is from mipnerf, it's a image collection of a room.I will try your new code, thanks very mush.

from mobilenerf-unity-viewer.

julienkay avatar julienkay commented on July 25, 2024

Hey, thanks for sharing the data. That was really helpful!

It seems there are cases when the individual shapes are not split into several .obj files like in the demo scenes. These shape files then have the naming convention: shapeX.obj (X being the total number of objects specified in the mlp.json)

I just pushed some changes to make this work. After making these, I was able to import your scene in Unity.

Would you mind if I posted a small video about this on Twitter? I can tag you if you want.

from mobilenerf-unity-viewer.

Related Issues (7)

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.