Open Fritskee opened 3 years ago
@dianyo @Shumpei-Kikuta @guojingbuaa @wwdok @haooooooqi @lyttonhao @asafDahan @AlexanderMelde Anybody got any insights on this matter?
@Fritskee I'm not sure how to use demo code, but perhaps I think that you should change the visualization code so that you can get the output not from tensorboard but local file path. You can write the local file path by changing this part.
@Fritskee I'm not sure how to use demo code, but perhaps I think that you should change the visualization code so that you can get the output not from tensorboard but local file path. You can write the local file path by changing this part.
Thanks for the reply! I didn’t see that. But I did put the pathways and all the other jazz in the configs, thinking that’d be sufficient. Thanks for the help!
I managed to train a SlowFast model (8x8) for the Kinetics data, now I am trying to run the demo for this model. The goal is to write the Grad-CAM results for 1 video to a file.
As suggested in the documentation, I run the following command:
Besides that I have also added the "DEMO" part to the
.yaml
config file. This looks as follows:Then slowfast/defaults.py looks as follows regarding the Tensorboard visualization section and the demo section:
I am very confused why my video is not being written to file, when running the code with above specifications, the terminal only returns the following:
After which it terminates without throwing any errors. An important detail is that I am working from a compute cluster and thus have no screen available when the job is running. However, since I provide a directory to write the output to, this shouldn't be an issue. I have also ran experiments with the Detectron2 repository and this works fine (i.e. writes files to output directory).