Comments (2)
I have solved this problem, it seems that I modified the code earlier due to version problems.
from ofa.
e
When I modify the model path and run the evaluate_snli_ve_base.sh or evaluate_snli_ve.sh to test the performance, I meet the following error:
Traceback (most recent call last): File "/home/dev/OFA-main/run_scripts/snli_ve/../../evaluate.py", line 203, in cli_main() File "/home/dev/OFA-main/run_scripts/snli_ve/../../evaluate.py", line 193, in cli_main distributed_utils.call_main( File "/home/dev/OFA-main/fairseq/fairseq/distributed/utils.py", line 374, in call_main distributed_main(cfg.distributed_training.device_id, main, cfg, kwargs) File "/home/dev/OFA-main/fairseq/fairseq/distributed/utils.py", line 348, in distributed_main main(cfg, **kwargs) File "/home/dev/OFA-main/run_scripts/snli_ve/../../evaluate.py", line 168, in main if torch.any(scores) and isinstance(scores[0], tuple): TypeError: any(): argument 'input' (position 1) must be Tensor, not list
may i ask what u have changed? the run_script?
i only changed a few parameters in the evaluate_refcoco.sh,and it comes
"RuntimeError: Boolean value of Tensor with more than one value is ambiguous"
from ofa.
Related Issues (20)
- Image Classification Fine-tuning and Evaluation on Custom Dataset HOT 1
- An error when train the prompt tuning model
- Where is the script to preprocess the own dataset HOT 1
- max_tgt_length is not used in data/mm_data/vqa_gen_dataset.py HOT 1
- How to use Finetuned checkpoint for Caption on COCO HOT 1
- import issue with metrics! HOT 1
- file 'ocr_scene_test.tsv' missing
- OFA caption models on Hugging Face
- OFA-CN Fine-tuning Scripts
- low accuracy on VQAv2 test-std when reproducing prompt tuning experiments HOT 1
- Does it support defect detection ?
- Question regarding the role of max_image_size in image quantization HOT 2
- "IndexError: list index out of range" on multiple GPU HOT 2
- Can 4 A6000 GPUs support pretraining?
- visual grounding task
- How to perform multi frame detection for visual grounding tasks?
- Inquiry Regarding the Acquisition and Processing Details of text2phone_dict.txt
- How to generate a paragraph instead of one single sentence through image caption model?
- TransformerDecoderLayer.py
- Pi Tuning
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 ofa.