Giter Site home page Giter Site logo

Comments (12)

6Superman6 avatar 6Superman6 commented on July 28, 2024 1

Please make sure you execute step 1.1 successfully. You can check whether the checkpoints are well saved in each directory like fold_*.

Sorry, I didn't succeed in step 1.1 training just now. Now I can train normally. After the step 1.1 training is completed, I believe that step 1.2 should be able to run normally. @Eaphan

from glenet.

6Superman6 avatar 6Superman6 commented on July 28, 2024 1

Thank you very much. Now step1.0-step1.3 can be successfully executed. @Eaphan

from glenet.

Eaphan avatar Eaphan commented on July 28, 2024
  1. Do you have two GPUs on your machine? Note I use two GPUs for training the GLENet. If you only have only one GPU, you should change the command adaptively.
  2. Have you installed the right version Pytorch? Can your train other models on your server?

from glenet.

6Superman6 avatar 6Superman6 commented on July 28, 2024

My computer has two GPUs, which can train other models. There is also a missing file when executing step 1.1: cfgs/${exp_id}_ gen_ ori.yaml

from glenet.

Eaphan avatar Eaphan commented on July 28, 2024

Sorry, I have fixed the bug. The cfgs/exp20_gen.yaml should be cfgs/exp20_gen_ori.yaml.

I have just fixed some bugs and run off the process. You can pull the lastest change and try again. @6Superman6

from glenet.

6Superman6 avatar 6Superman6 commented on July 28, 2024

Sorry, I have fixed the bug. The cfgs/exp20_gen.yaml should be cfgs/exp20_gen_ori.yaml.

I have just fixed some bugs and run off the process. You can pull the lastest change and try again. @6Superman6

Step 1.1 can now be executed successfully, but the following error is reported when executing step 1.2:

2023-02-17 16:31:31,845 INFO cfg.TAG: exp20_gen
2023-02-17 16:31:31,845 INFO cfg.EXP_GROUP_PATH:
2023-02-17 16:31:32,016 INFO Length of dense_gt_infos is 156
2023-02-17 16:31:32,016 INFO ### Aug params: flip=True, scale=[0.95, 1.05], rot=0.78539816,shift=0, enable_similar_type=True
Traceback (most recent call last):
File "test.py", line 203, in
main()
File "test.py", line 199, in main
eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test)
File "test.py", line 59, in eval_single_ckpt
model.load_params_from_file(filename=args.ckpt, logger=logger, to_cpu=dist_test)
File "/home/dell/project/pcdet/GLENet-main/cvae_uncertainty/model.py", line 371, in load_params_from_file
raise FileNotFoundError
FileNotFoundError

from glenet.

Eaphan avatar Eaphan commented on July 28, 2024

Please make sure you execute step 1.1 successfully. You can check whether the checkpoints are well saved in each directory like fold_*.

from glenet.

mishimat34 avatar mishimat34 commented on July 28, 2024

@Eaphan @6Superman6
I too have the same issues. Need your kind help.
Although I can use kitti_infos_train.pkl & kitti_dbinfos_train.pkl offered by @Eaphan but I want to study and tune model.py in cvae_uncertainty so that I must generate kitti_infos_train.pkl & kitti_dbinfos_train.pkl of my own.

  1. I run ln -s data/kitti cvae_uncertainty, which doesn't work. So when running step 1.2: GLENet Prediction I have:

Traceback (most recent call last):
File "test.py", line 203, in
main()
File "test.py", line 189, in main
dist=dist_test, workers=args.workers, logger=logger, training=False
File "/home/lab715/Code/GLENet/cvae_uncertainty/dataset.py", line 1047, in build_dataloader
logger=logger,
File "/home/lab715/Code/GLENet/cvae_uncertainty/dataset.py", line 136, in init
with open(db_infos_path, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'kitti/kitti_dbinfos_train.pkl'

So I guessed and moved kitti/kitti_dbinfos_train.pkl into cvae_uncertainty/kitti (I built kitti under cvae_uncertainty).

  1. Running step 1.2 again then I have:

Traceback (most recent call last):
File "test.py", line 203, in
main()
File "test.py", line 199, in main
eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test)
File "test.py", line 59, in eval_single_ckpt
model.load_params_from_file(filename=args.ckpt, logger=logger, to_cpu=dist_test)
File "/home/lab715/Code/GLENet/cvae_uncertainty/model.py", line 371, in load_params_from_file
raise FileNotFoundError

  1. Seems I don't have training results in cvae_uncertainty/output/exp20_gen/fold_x/ckpt, so step 1.1 would be that for me:
    FOLD_IDX: 0
    FOLD_IDX: 1
    FOLD_IDX: 2
    FOLD_IDX: 3
    FOLD_IDX: 4
    FOLD_IDX: 5
    FOLD_IDX: 6
    FOLD_IDX: 7
    FOLD_IDX: 8
    FOLD_IDX: 9

How can I do to have the training results in fold_x/ckpt?
Thanks.

from glenet.

Eaphan avatar Eaphan commented on July 28, 2024

ln -s data/kitti cvae_uncertainty, which doesn't work

Why doesn't it work? Do you prepare the data of KITTI and create the directory well?

from glenet.

lhsgwyz avatar lhsgwyz commented on July 28, 2024

我也有同样的问题。需要你的帮助。虽然我可以使用kitti_infos_train.pkl & kitti_dbinfos_train.pkl提供的,但我想在cvae_uncertainty中学习和调整 model.py,以便我必须生成我自己的kitti_infos_train.pkl &kitti_dbinfos_train.pkl。

  1. 我运行 ln -s data/kitti cvae_uncertainty,它不起作用。因此,在运行步骤 1.2:GLENet 预测时,我有:

回溯(最近一次调用):文件“test.py”,第 203 行,在 main() 文件“test.py”,第 189 行,在 main dist=dist_test,workers=args.workers,logger=logger,training=False 文件“/home/lab715/Code/GLENet/cvae_uncertainty/dataset.py”,第 1047 行,在 build_dataloader logger=logger,文件“/home/lab715/Code/GLENet/cvae_uncertainty/dataset.py”,第 136 行,init with open(db_infos_path, 'rb') as f: FileNotFoundError: [Errno 2] 没有这样的文件或目录: 'kitti/kitti_dbinfos_train.pkl'

所以我猜测并将 kitti/kitti_dbinfos_train.pkl 移动到 cvae_uncertainty/kitti 中(我在 cvae_uncertainty 下构建了 kitti)。

  1. 再次运行步骤 1.2,然后我有:

回溯(最近一次调用最后一次):文件“test.py”,第 203 行,在 main() 文件“test.py”,第 199 行,在 main eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test) 文件“test.py”,第 59 行,在 eval_single_ckpt model.load_params_from_file(filename=args.ckpt, logger=logger, to_cpu=dist_test)文件“/home/lab715/Code/GLENet/cvae_uncertainty/model.py”,第 371 行,load_params_from_file引发 FileNotFoundError

  1. 似乎我没有 cvae_uncertainty/output/exp20_gen/fold_x/ckpt 的训练结果,所以步骤 1.1 对我来说就是这样: FOLD_IDX:0 FOLD_IDX:1 FOLD_IDX:2 FOLD_IDX:3 FOLD_IDX:4 FOLD_IDX:5 FOLD_IDX:6 FOLD_IDX:7 FOLD_IDX:8 FOLD_IDX:9

我怎样才能获得 fold_x/ckpt 的训练结果? 谢谢。

@Eaphan @6Superman6 I too have the same issues. Need your kind help. Although I can use kitti_infos_train.pkl & kitti_dbinfos_train.pkl offered by @Eaphan but I want to study and tune model.py in cvae_uncertainty so that I must generate kitti_infos_train.pkl & kitti_dbinfos_train.pkl of my own.

  1. I run ln -s data/kitti cvae_uncertainty, which doesn't work. So when running step 1.2: GLENet Prediction I have:

Traceback (most recent call last): File "test.py", line 203, in main() File "test.py", line 189, in main dist=dist_test, workers=args.workers, logger=logger, training=False File "/home/lab715/Code/GLENet/cvae_uncertainty/dataset.py", line 1047, in build_dataloader logger=logger, File "/home/lab715/Code/GLENet/cvae_uncertainty/dataset.py", line 136, in init with open(db_infos_path, 'rb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'kitti/kitti_dbinfos_train.pkl'

So I guessed and moved kitti/kitti_dbinfos_train.pkl into cvae_uncertainty/kitti (I built kitti under cvae_uncertainty).

  1. Running step 1.2 again then I have:

Traceback (most recent call last): File "test.py", line 203, in main() File "test.py", line 199, in main eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test) File "test.py", line 59, in eval_single_ckpt model.load_params_from_file(filename=args.ckpt, logger=logger, to_cpu=dist_test) File "/home/lab715/Code/GLENet/cvae_uncertainty/model.py", line 371, in load_params_from_file raise FileNotFoundError

  1. Seems I don't have training results in cvae_uncertainty/output/exp20_gen/fold_x/ckpt, so step 1.1 would be that for me:
    FOLD_IDX: 0
    FOLD_IDX: 1
    FOLD_IDX: 2
    FOLD_IDX: 3
    FOLD_IDX: 4
    FOLD_IDX: 5
    FOLD_IDX: 6
    FOLD_IDX: 7
    FOLD_IDX: 8
    FOLD_IDX: 9

How can I do to have the training results in fold_x/ckpt? Thanks.

I have the same issues as you, have you solved your problem yet?

from glenet.

Eaphan avatar Eaphan commented on July 28, 2024

You should complete step 1.1 before you start step 1.2.

from glenet.

mishimat34 avatar mishimat34 commented on July 28, 2024

from glenet.

Related Issues (19)

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.