Git Product home page Git Product logo

Comments (5)

GWxuan avatar GWxuan commented on July 19, 2024

I've encountered exactly the same problem. Has it been resolved?

from eda.

GWxuan avatar GWxuan commented on July 19, 2024

I know the reason now; don't use a single gpu for training when running train_scanrefer_single.sh.

from eda.

xiaoyaolovlife avatar xiaoyaolovlife commented on July 19, 2024

image
image
Hello! I also encountered the same problem, and I would like to ask if you know:

  1. Why using a single GPU results in high loss values?
  2. I used 2 GPUs to run the program, but the loss after epoch=10 decreased very slowly compared to the author's results. Can you help analyze the reasons?

from eda.

xiaoyaolovlife avatar xiaoyaolovlife commented on July 19, 2024

As training continues, the loss value does not show significant decrease
image

from eda.

xiaoyaolovlife avatar xiaoyaolovlife commented on July 19, 2024

{'num_target': 256, 'sampling': 'kps', 'num_encoder_layers': 3, 'num_decoder_layers': 6, 'self_position_embedding': 'loc_learned', 'self_attend': True, 'query_points_obj_topk': 4, 'use_contrastive_align': True, 'use_soft_token_loss': True, 'detect_intermediate': True, 'joint_det': True, 'batch_size': 12, 'dataset': ['scanrefer'], 'test_dataset': 'scanrefer', 'data_root': '/home/user1009/project/EDA/preparation/', 'use_height': False, 'use_color': True, 'use_multiview': False, 'wo_obj_name': 'None', 'butd': False, 'butd_gt': False, 'butd_cls': False, 'augment_det': True, 'num_workers': 4, 'start_epoch': 1, 'max_epoch': 400, 'optimizer': 'adamW', 'weight_decay': 0.0005, 'lr': 0.0002, 'lr_backbone': 0.002, 'text_encoder_lr': 1e-05, 'lr_scheduler': 'step', 'lr_decay_epochs': [50, 75], 'lr_decay_rate': 0.1, 'clip_norm': 0.1, 'bn_momentum': 0.1, 'syncbn': False, 'warmup_epoch': -1, 'warmup_multiplier': 100, 'checkpoint_path': None, 'log_dir': '/home/user1009/project/EDA/preparation/output/logs/eda/scanrefer/1718353528', 'print_freq': 500, 'save_freq': 3, 'val_freq': 3, 'local_rank': 0, 'ap_iou_thresholds': [0.25, 0.5], 'rng_seed': 0, 'debug': False, 'eval': False, 'eval_train': False, 'pp_checkpoint': '/home/user1009/project/EDA/preparation/gf_detector_l6o256.pth', 'reduce_lr': False}

The only difference from the parameters given by the author is in 'lr_decay_epochs': [50, 75].
But I don't think this is the reason for the worsened results.

from eda.

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.