Giter Club home page Giter Club logo

asfm-net-pytorch's People

Contributors

leonardozcm avatar zongyi1999 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

asfm-net-pytorch's Issues

Find that FPS random start sampling results in different CD at 1024 points

                # downsample gt to 2048
                partial = fps_subsample(gt, 2048)
                coarse_gt = fps_subsample(gt, 1024)

                # preprocess transpose
                partial = partial.permute(0, 2, 1)

                v, y_coarse, y_detail = model(partial)

                # y_coarse = y_coarse.permute(0, 2, 1)
                y_coarse = fps_subsample(
                    gt[:, torch.randperm(gt.shape[1]), :], 1024)
                y_detail = y_detail.permute(0, 2, 1)

                loss_coarse = chamfer_sqrt(coarse_gt, y_coarse)
                loss_fine = chamfer_sqrt(
                    gt, gt[:, torch.randperm(gt.shape[1]), :])
                loss = loss_coarse + 0.1 * loss_fine

============================ TEST RESULTS ============================
Taxonomy #Sample ChamferDistance
02691156 10 0.0000
02933112 9 0.0000
02958343 10 0.0000
03001627 9 0.0000
03636649 9 0.0000
04256520 10 0.0000
04379243 9 0.0000
04530566 9 0.0000
Overall 0.0000

Epoch 11 11.2085 0.0000 11.2085

Step1: train a pcn takes complete points clouds as input

(ML) chriskafka@bigshot:~/PycharmProjects/ASFM-Net-Review$ python main_pcn.py --test --backbone
cuda available  True
Loaded compiled 3D CUDA chamfer distance
Test[1200/1200] Taxonomy = 04530566 Sample = 294644520ccc2ce27795dd28016933fc Losses = ['7.0097', '5.2598', '7.5357'] Metrics = ['0.0053']: 100%|████████████████████████████████████████████████████████████████████████████████| 1200/1200 [02:24<00:00,  8.31it/s]
============================ TEST RESULTS ============================
Taxonomy        #Sample ChamferDistance
02691156        150     0.0056
02933112        150     0.0108
02958343        150     0.0091
03001627        150     0.0102
03636649        150     0.0126
04256520        150     0.0104
04379243        150     0.0099
04530566        150     0.0091
Overall                 0.0097

Epoch  -1       12.8742 9.6951  13.8437
                    4096            16384

Epoch -1 12.8742 9.6951 13.8437

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.