Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About visualizing the detections #13

Open
tianyxOoO opened this issue Oct 27, 2024 · 1 comment
Open

About visualizing the detections #13

tianyxOoO opened this issue Oct 27, 2024 · 1 comment

Comments

@tianyxOoO
Copy link

tianyxOoO commented Oct 27, 2024

Hello!
Thanks for your detailed introduction!
When I was trying the "run example" part, I successfully ran the "python scripts/run_test_interframe.py". Then I tried to visualize the detections with "python scripts/visualize_detections.py", but I found no "extract_image_by_index" and "load_start_and_end_time" functions in the "dsec-det/src/dsec_det/io.py".
Could you please upload the missing part of the code?
Thank you very much!

Best wishes!

@EricLiuUCAS
Copy link

me too!
LOG_DIR=/path/to/log
DEVICE=1
CUDA_VISIBLE_DEVICES=$DEVICE python scripts/run_test_interframe.py --config config/dagr-s-dsec.yaml
--use_image
--img_net resnet50
--checkpoint data/dagr_s_50.pth
--batch_size 8
--dataset_directory data/DSEC_fragment
--no_eval \
--output_directory $LOG_DIR

                                               usage:  [-h] [--dataset_directory DATASET_DIRECTORY] [--output_directory OUTPUT_DIRECTORY]
    [--checkpoint CHECKPOINT] [--img_net IMG_NET] [--img_net_checkpoint IMG_NET_CHECKPOINT]
    [--config CONFIG] [--use_image] [--no_events] [--keep_temporal_ordering] [--task TASK]
    [--dataset DATASET] [--radius RADIUS] [--time_window_us TIME_WINDOW_US]
    [--max_neighbors MAX_NEIGHBORS] [--n_nodes N_NODES] [--batch_size BATCH_SIZE]
    [--activation ACTIVATION] [--edge_attr_dim EDGE_ATTR_DIM] [--aggr AGGR]
    [--kernel_size KERNEL_SIZE] [--pooling_aggr POOLING_AGGR] [--base_width BASE_WIDTH]
    [--after_pool_width AFTER_POOL_WIDTH] [--net_stem_width NET_STEM_WIDTH]
    [--yolo_stem_width YOLO_STEM_WIDTH] [--num_scales NUM_SCALES]
    [--pooling_dim_at_output POOLING_DIM_AT_OUTPUT] [--weight_decay WEIGHT_DECAY] [--clip CLIP]
    [--aug_p_flip AUG_P_FLIP] [--aug_trans AUG_TRANS] [--aug_zoom AUG_ZOOM] [--l_r L_R] [--no_eval]
    [--tot_num_epochs TOT_NUM_EPOCHS] [--run_test] [--num_interframe_steps NUM_INTERFRAME_STEPS]

: error: unrecognized arguments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants