GithubHelp home page GithubHelp logo

Comments (8)

lostcolony avatar lostcolony commented on May 19, 2024 5

Area_6/copyRoom_1/copy_Room_1.txt needs to be moved to Area_6/copyRoom_1/copyRoom_1.txt

from superpoint_graph.

lostcolony avatar lostcolony commented on May 19, 2024 3

Thanks! Yeah, there's apparently a single unprintable character (non-breaking space in between -9.1 and a trailing 0) in hallway_2.txt that causes choking. Interestingly, using np.fromfile will load it fine, but numpy.loadtxt will not.

Using sed to remove unprintable characters will clean the data -

sed -i 's/[^[:print:]]//g' hallway_2.txt

from superpoint_graph.

lostcolony avatar lostcolony commented on May 19, 2024 3

Just going to post here any other data corruption issues I encounter, along with fix -

Area_5/hallway_6/Annotations,ceiling1.txt, line 180389 has a null byte instead of a space (I just cleaned it using a text editor, since most of those will show null bytes)

from superpoint_graph.

Amrsaeed avatar Amrsaeed commented on May 19, 2024 2

Applying the patch results in an error in Area_3/hallway_2/hallway_2.txt
ValueError: Some errors were detected ! Line #926337 (got 7 columns instead of 6)
The line after applying the batch is 19.302 -9.1 0 1.785 146 137 106 where it should be only 6 columns.
The removed corrupted character was supposedly a number. So needed to make third column into -9.160 in keeping with the pattern in this column

from superpoint_graph.

lostcolony avatar lostcolony commented on May 19, 2024 1

It doesn't appear to. Pulled the latest, cleared prior clouds, features, and superpoint_graphs output directories, undid the try/except I stuck in, re-ran. THe changed code did indeed address the first issue, but I got the second error again, same area (Area 3).

from superpoint_graph.

loicland avatar loicland commented on May 19, 2024

Hi,

the first issue is the same as issue #25. It should now be fixed with the latest commit, let me know if it fixes the second bug as well.

loic

from superpoint_graph.

loicland avatar loicland commented on May 19, 2024

I remember a similar error. It could be due to either typos in the s3dis dataset or packet error during the downloading.

Check the xyz value you got from reading the file area3/hallway2, and find the nan value (with np.isnan and np.where). Once you found the faulty line in question check the txt in /data, there should be an unrecognized character. Fix it and run partition again.

from superpoint_graph.

loicland avatar loicland commented on May 19, 2024

Great, thanks for the tip. I'll add it to the doc soon.

from superpoint_graph.

Related Issues (20)

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.