HTC M9 .obj files wont import into blender - blender

So I have the texture files and the .obj files for an HTC M9 yet when i go to import them into blender it just doesn't show up...I'll leave a link to my google drive with the files and if anyone does get it any help would be much appreciated!
Google Drive Files

The .obj file appears to be badly formed. You should check with the model creator. Below are the issues reported with 2 different loaders:
Blender (2.7) indicates - "Index out of range" error for the vertices
Three.js OBJMTLLoader indicates the same error

Related

Download output file from Kaggle kernel

I have modified a notebook on the Kaggle kernel. The output file is saved in the /kaggle/working, but as I look into the files, the web page crashes every time. I tried this solution Download Kaggle output file as well but it did not work for me. Can anyone please help me with a guide to download these files? The code can be found here:
https://www.kaggle.com/code/ahmedtowsiftahmid/convert-mapillary-traffic-sign-annotations-to-yolo?scriptVersionId=117319238

Google Colab: mounted Drive but unable to read files

I am doing Stanford's course CS231n on deep learning and am using Google Colab.
The initialization code and all the files are given, so all i need is just to hit "run" on the given code.
I have followed step be step the official instructions and successfully mounted Google Drive, yet i get an error when trying to read the files:
"cp: cannot stat 'cs231n/assignments/assignment1/cs231n/': No such file or directory /content".
And then some more errors.
The files are located in my drive as in the path "FOLDERNAME".
The errors i get:
How it should be:
Official instructions:
https://cs231n.github.io/assignments2020/assignment1/
How can i solve it?
Thanks!
I am having the exactly same problem as you were. And here is my solution:
delete the folder named cs231n
follow the tutorial again
3. change the path %cd drive/My\ Drive into %cd drive/MyDrive
As you can see, default setting of the folder is 'MyDrive'(without space in midddle) but not 'My Drive'(My\ Drive).
Then, everything should run as your expectation.
Cheers.
Based on the course instructions, it sounds like you need to expand the course archive in your Drive.
Quoting here:
Create a folder in your personal Google Drive and upload assignment1/
folder to the Drive folder. We recommend that you call the Google
Drive folder cs231n/assignments/ so that the final uploaded folder has
the path cs231n/assignments/assignment1/.
If you already did that, I'd check the Drive web UI to make sure that the paths line up with the course instructions, and to move the files around if there's a mismatch.

Add data to Google Colab

I have some problems when trying to add .csv files to my Google Colab
I already added these file to my Drive, and copy its exact links to my notebooks, but I still received error File not found
Please help me
My data files 're more than 25 MB, so I cannot add them from Github
Can you try adding the files using Upload option from files tab in the left side of your colab notebook.

gzip topojson files in terminal but then can't be read in modern browser

Building an online interactive map with leaflet and some heavy layers with my spatial data in topojson format. I have been reading about gzip but I am still uncertain how to configure it.
Do I need to:
gzip the files used for my leaflet map myself in my terminal ?
change my javascript code so that instead of calling 1966.topojson I call 1966.topojson.gz ?
change the apache server (2nd generation) in some way? Not sure how to change it so that it can send topojson files. Is there any good tutorial around for that?
Thanks
Here is a
link

How to export to Collada form in Blender for cocos3d

I am using blender 2.66a to create 3dobject for Cocos3d. In THE BRENWILL tutorial they have used blender 2.4.9 to export to collada file. I cannot find those options that have mentioned in the tutorial(like Triangle,only export selection), when export to collada file.
Where can i find those options in blender 2.66 ? Or is there any difference in options for higher version?
As pod file collada-pod file creation is very important in cocos3d.
In addition to existing answer, you can directly export your 3D models from blender to .POD format that cocos3d understands. For accomplishing this, you need to add a PowerVR SDK add-on to blender.
Steps to add PVRGeoPOD add-on to blender are
Download the PowerVR SDK(which you may have already done) from
this site. Note that this downloads an installer file, which in
turns downloads the SDK. During the installation process, they ask
you to select what tools need to be installed, I normally select
PVRGeoPOD
PVRShaman (optional, but highly recommended)
options. First one is the .blend to .POD (and COLLADA to
.POD) converter (including add-ons) and second one is a very useful .POD file viewer. Wait till the installation is complete.
Find the Blender add-on path. If you don't know it by heart, open
Blender python console, and run command
bpy.utils.script_paths("addons") and note down the path.
Find the Blender add-on files inside the PVRGeoPOD folder, in your
installation path. When you see files like libPVRGeoPOD.dylib
and PVRGeoPODScript.py and 2 QT files, stop there because these
are the add-on files. Copy these 4 files and paste them in Blender
add-on folder.
Open Blender, run Preference->add-ons tab, search for
PVRGeoPOD. You can see, that the add-on is there, but it is not enabled. Check the tick mart to the right to enable it.
Now Quit and restart Blender, if needed, and select file->export
and see if there is an option called PVRGeoPOD(.pod/.h/.cpp), if
yes,you are successful. Now you can export directly from .blend
to .POD
You can find a detailed explanation here.
In blender 2.4.9 we have to specify the options to create collada file. But in blender 2.66 you can create collada file by using the default options. Then convert it into pod file using PowerVR SDK.