GithubHelp home page GithubHelp logo

Comments (9)

laughtervv avatar laughtervv commented on July 29, 2024

Valid data doesn't have to be excluded from training data. In our implementation, valid data is a random subset of training.

from sgpn.

saira05 avatar saira05 commented on July 29, 2024

And what about test data?

from sgpn.

laughtervv avatar laughtervv commented on July 29, 2024

In our experiments, we use cross-validation. For example, if we use Area 6 as test data, Area 1-5 will be the training data.

from sgpn.

saira05 avatar saira05 commented on July 29, 2024

hello i tried to run the code by generating h5 files from pointnet (gen_indoor3d_h5.py ) but i am getting this following error can you please tell me how you prepare "Area_5_office_20.h5" and why your code is not accepting my h5 files.

name: Tesla K80, pci bus id: 0000:0b:00.0, compute capability: 3.7)
Model loaded in file: checkpoint/stanford_ins_seg/trained_models/epoch_200.ckpt
Traceback (most recent call last):
File "train.py", line 276, in
train()
File "train.py", line 176, in train
cur_data, cur_group, _, cur_seg = provider.loadDataFile_with_groupseglabel_stanfordindoor(cur_train_filename)
File "/home/sarshad/SGPN-master/provider.py", line 207, in loadDataFile_with_groupseglabel_stanfordindoor
group = f['pid'][:].astype(np.int32)#NxG
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/home/sarshad/.local/lib/python3.5/site-packages/h5py/_hl/group.py", line 167, in getitem
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: "Unable to open object (object 'pid' doesn't exist)"

from sgpn.

shuluoshu avatar shuluoshu commented on July 29, 2024

hi @saira05 , I wonder how do you obtain the instance label for each point in S3DIS dataset ? I remember there is only semantic labels for each point.

Thanks a lot!

from sgpn.

saira05 avatar saira05 commented on July 29, 2024

Yes @shuluoshu you are right that's why i am getting this error. @laughtervv Can you tell me how you get that instance labels or how you prepare dataset for your project bcz in repo there is only 1 h5 file. Kindly help me in this matter i want to use your project in my work

Thanx

from sgpn.

laughtervv avatar laughtervv commented on July 29, 2024

Please refer to #3

from sgpn.

lhiceu avatar lhiceu commented on July 29, 2024

Hi @laughtervv
How many datas should I pick to valid dataset?

from sgpn.

valvador92 avatar valvador92 commented on July 29, 2024

Hi @lhiceu,
How many dataset did you take to valid.py for generating mingroupsize.txt and pergroup_thres.txt?

from sgpn.

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.