Comments (12)
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.
Thank you very much. Now step1.0-step1.3 can be successfully executed. @Eaphan
from glenet.
- 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.
- Have you installed the right version Pytorch? Can your train other models on your server?
from glenet.
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.
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.
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.
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.
@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.
- 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).
- 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
- 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.
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.
我也有同样的问题。需要你的帮助。虽然我可以使用kitti_infos_train.pkl & kitti_dbinfos_train.pkl提供的,但我想在cvae_uncertainty中学习和调整 model.py,以便我必须生成我自己的kitti_infos_train.pkl &kitti_dbinfos_train.pkl。
- 我运行 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.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
- 似乎我没有 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.
- 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).
- 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
- 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: 9How 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.
You should complete step 1.1 before you start step 1.2.
from glenet.
from glenet.
Related Issues (19)
- python train.py --cfg_file cfgs/kitti_models/GLENet_VR2.yaml HOT 8
- How to install spconv with docker HOT 3
- Train on custom dataset? HOT 1
- AttributeError: module 'spconv' has no attribute 'SparseModule' HOT 2
- Is it possible using monocular camera? HOT 1
- How to use other datasets for training? HOT 1
- Generate Label Uncertainty with GLEnet: error step1.1
- How could I get '../data/kitti/kitti_dbinfos_val.pkl'? HOT 3
- window10/11 system build project HOT 2
- how to infer a point cloud data HOT 6
- Is there a training model for Car, Pedistrian and Cyclist? I think you only released the training model of Car. HOT 2
- low-beam LiDAR 3D Detection HOT 2
- I want to generate the indeterminate label of pedestrians and bicycles. How to do? HOT 2
- Hello! In addition to generating uncertain labels for cars, I also generated uncertain labels for pedestrians and bicycles. After training, the AP value of the car has not changed much, but the AP value of the pedestrian and bicycle has decreased a lot. I want to ask what causes this? HOT 1
- May I ask whether it is feasible to use spconv2.x? HOT 2
- FileNotFoundError: [Errno 2] No such file or directory: 'kitti/kitti_infos_train_ori.pkl' HOT 9
- TypeError: unsupported operand type(s) for +: 'NoneType' and 'float' HOT 6
- Inference time comparison HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glenet.