Caffe2 Flickr Model - What preprocessing is required for Image dataset - caffe

I am trying to run the Flickr style model in caffe2
But I couldn't get the preprocessing steps required for the dataset.
Please guide me.
Thanks in advance

Related

Extractor error code -777 when using design automation

I am trying to complete a full runthrough of the Forge API for an inventor model. We have succesfully managed to submit the workitem which does everything it needs to do based on our personalised appbundles and activities.
The issue is when the new model is trying to be loaded in the viewer with the URN for the SVF which is in the newly created output bucket.
I am getting a translation error and I cannot figure out where the error is coming from or how to fix it.
Is the translation not automatically completed when the SVF is created for export, which is the point of using this activity i thought?
Is it the CreateSVF activity which is not zipping it correctly?
Any suggestions from anyone on where to look if this is an obvious one, can't find the same error online.
TIA.
There is some weird thing Inventor is doing in exported SVF for use in ForgeViewer. It looks like bubble.json is not at the level it is needed to have it. You can see how we are doing the export in our demo application. After export done by Inventor, we move bubble.json to different place. See https://github.com/Autodesk-Forge/forge-configurator-inventor/blob/master/AppBundles/CreateSVFPlugin/CreateSvfAutomation.cs#L101

Convert CityGML model to CityJson file

I need help in converting CityGML model to CityJson file using Citygml4j/Citygml-tools` as I need to visualize the CityGML model in the Qgis Software. The tutorial that I get from CityJson website is to simple for student like me. I hopefully any one of you can help to step by step the solution of converting CityGML to CityJson. I sincerely appreciate any of your help. Thank you.
https://www.cityjson.org/tutorials/conversion/
https://towardsdatascience.com/loading-3d-city-models-in-qgis-46347a638760
Accordingly to its readme file in their github repo, it is basically:
citygml-tools to-cityjson /path/to/your/CityGML.gml
considering that you're in an unix system and opened your terminal at the package folder.
in windows it should be:
citygml-tools.exe to-cityjson your_CityGML.gml
considering that you're in the package folder and also the citygml file

How to export XML from Naviswork to Forge Viewer

I following this tutorial
for import and work with viewpoint from Naviswork to Forge Viewer.
Do you know any solution or API on Naviswork to export this viewpoint data and saved it on my Database. Thank you in advance !
It sounds like a Navisworks API question, instead of Forge. Navisworks API does not provide a direct method to export to saved viewpoints like UI does. I happened to answer a similar question in the past. just copied here for your reference:
There is not a direct API, but with SavedViewpoint API, you could dump the data from the objects, and write to the XML yourself.
http://adndevblog.typepad.com/aec/2012/06/navisworks-net-api-2013-new-feature-saved-viewpoint.html
It might be possible not all properties in the standard xml have corresponding object with API, such as terminal_velocity, however it would not impact your workflow, as most properties (especially camera related) are available with API.
About data of redline, activate each saved viewpoint one by one (by DocumentSavedViewpoints.CurrentSavedViewpoint) , call Document.ActiveView.GetRedLines(). It can return all info of the annotations: line, eclipse, text etc in Json format.
About data of clip planes, you could use Document.ActiveView.GetClippingPlanes(). Similarly, in Json format.
Hope it helps.

Forge viewer: Custom materials step-by-step

I've seen some examples of high quality and detailed models that works for the Autodesk Model Derivative. Some example are Dotty, Dasher and Fusion Race Car. Dotty is actually amazing.. even has some reflection added in there.
So, to achieve this I would need to upload the textures and the materials with my model. I've tried to reproduce the guide telling me to create a ZIP containing of the OBJ, MTL and PNG. First of all, to be sure I am on the correct path when I am testing out different workflows: is OBJ the only format that can be uploaded with custom materials/textures? I know that I can add standard materials to rvt, fbx, 3ds etc, but I do not have a clear idea on how to upload custom materials/textures.
Could you kindly give me a step-by-step how to get the best possible visualization of the uploaded models? Thanks a lot
Models from Fusion 360 uses the built-in material library, in the case of Fusion Race Car you mentioned. The Dasher sample uses a Revit model of a "well-designed" model in Revit, but no custom materials. Don't have much info on the Dotty format, but would consider the direction of obj or rcp (Reality Capture or point cloud) files, both can have texture.
For a custom material, OBJ is the best route as of now, allowing you to include your textures. As far as Forge, the translation is exactly the same: upload the zip with all files and post a job with rootFilename pointing to the .obj file.

using blender, what are the coding steps required to design a walking person animation and export as JSON

My requirement is "i need to display walking person animation on web based on the character model(JSON) designed from Blender"
Pls let me know in detail the steps it has to be followed.
Thanks
ASH
Step 1) Add Three.js plugin to Blender(vers 2.7)
Step 2) Using Blender, as per the link(https://www.youtube.com/watch?v=krEoAjK-vo0) import the image and change the relavant paramters as the steps shown in the link.
Step 3) Once the image is converted into 3d model, export the file as JSON. Ensure it has the following parameters metadata, scale, materials, vertices, morphTargets(face,height,hands etc),normals and faces are available in the JSON
step 4) To display on the web, import the json into html file(three.js) using THREE.XHRLoader() and run the same. It should display the 3d model image.
Thanks
ASH