No such file or directory: 'visualization/output/generated_captions/dvc_results.json'
See original GitHub issuehi when I run code as below:
video_folder=visualization/videos
output_folder=visualization/output
pdvc_model_path=save/anet_tsp_pdvc/model-best.pth
output_language=en
bash test_and_visualize.sh $video_folder $output_folder $pdvc_model_path $output_language
and the error is generated:
**from densevid_eval3.SODA.soda import SODA
ModuleNotFoundError: No module named ‘densevid_eval3.SODA.soda’ START VISUALIZATION Traceback (most recent call last): File “visualization/visualization.py”, line 154, in <module> d = json.load(open(opt.dvc_file))[‘results’] FileNotFoundError: [Errno 2] No such file or directory: ‘visualization/output/generated_captions/dvc_results.json’**
so where is dvc_results.json? and how can i got it?
thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
No such file or directory: 'newcred.json' - Stack Overflow
json is in the same directory as google_worksheets and when I run google_worksheets on it's own it works fine (right click file and...
Read more >No such file or directory: results.json · Issue #8 - GitHub
The Redfish-Mockup-Creator is one of the tools that does not create a results.json file. So the warning message you are seeing is expected....
Read more >Chapter 1: Failed to import people.json - M201 - MongoDB
Hi guys1 I am running this command: mongoimport --drop -c restaurants --uri mongodb+srv://user:password@cluster0.45p9jum.mongodb.net/m201 ...
Read more >jsconfig.json Reference - Visual Studio Code
The presence of such a file in a directory indicates that the directory is the root of a JavaScript project. The file itself...
Read more >openshift-install destroy cluster Fails with "open metadata.json
openshift-install destroy cluster FATAL Failed while preparing to destroy cluster: open metadata.json: no such file or directory ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mixiazhiyang @cyy-1102
I had same problem. And I solved by little detuoring.
First of all, i guess, the problem
visualization/output/generated_captions/dvc_results.json
is becauseMultiScaleDeformableAttention
is not installed correctly.I don’t know extact reason, but I think the problem is due to torch version.
So, i tried install
MultiScaleDeformableAttention
If installed well, then try
if such code yeilds no error,
MultiScaleDeformableAttention
it means installed successfully.Since original repo of
MultiScaleDeformableAttention
is here,I just followed the repo.
It means I installed
MultiScaleDeformableAttention
directly by here.For more details
This is how to install MultiScaleDeformableAttention
我没有save/info.json,你是怎么解决的呢