📣 Tutorials have been updated and are now fully aligned with UltraRAG 2.1 — check out what’s new.
简体中文
尼康Z7的电子减震功能主要用于在拍摄静物、人像等需要稳定画面的场景中提供帮助。然而,在某些特定场景下,电子减震功能是不可用的。根 据尼康官方文档和常见使用场景,电子减震功能在以下情况下不可用: 1. 拍摄运动物体:由于电子减震功能会根据相机的移动调整快门速度,因此当拍摄运动物体时,电子减震功能会变得不稳定,无法正常工作。 2. 使用长时间曝光:在长时间曝光拍摄时,相机的抖动会变得明显,电子减震功能无法有效补偿这种抖动。 3. 使用低光环境下的长曝光:在低光环境下拍摄长曝光时,相机的抖动会更加明显,电子减震功能无法有效补偿这种抖动。 因此,尼康Z7的电子减震功能在拍摄运动物体、使用长时间曝光、使用低光环境下的长曝光等场景下是不可用的。
# MCP Server servers: corpus: servers/corpus # MCP Client Pipeline pipeline: - corpus.build_image_corpus
ultrarag build examples/build_image_corpus.yaml
corpus: image_corpus_save_path: corpora/image.jsonl parse_file_path: data/UltraRAG.pdf parse_file_path: data/nikon.pdf
ultrarag run examples/build_image_corpus.yaml
{"id": 0, "image_id": "nikon/page_0.jpg", "image_path": "image/nikon/page_0.jpg"} {"id": 1, "image_id": "nikon/page_1.jpg", "image_path": "image/nikon/page_1.jpg"} {"id": 2, "image_id": "nikon/page_2.jpg", "image_path": "image/nikon/page_2.jpg"} {"id": 3, "image_id": "nikon/page_3.jpg", "image_path": "image/nikon/page_3.jpg"} ...
# MCP Server servers: retriever: servers/retriever # MCP Client Pipeline pipeline: - retriever.retriever_init - retriever.retriever_embed - retriever.retriever_index
ultrarag build examples/corpus_index.yaml
retriever: backend: sentence_transformers backend_configs: bm25: lang: en infinity: bettertransformer: false device: cuda model_warmup: false pooling_method: auto trust_remote_code: true openai: api_key: '' base_url: https://api.openai.com/v1 model_name: text-embedding-3-small sentence_transformers: device: cuda sentence_transformers_encode: encode_chunk_size: 10000 normalize_embeddings: false psg_prompt_name: document psg_task: null q_prompt_name: query q_task: null psg_prompt_name: null psg_task: retrieval q_prompt_name: query q_task: retrieval trust_remote_code: true batch_size: 16 corpus_path: data/corpus_example.jsonl corpus_path: corpora/image.jsonl embedding_path: embedding/embedding.npy faiss_use_gpu: true gpu_ids: 0,1 gpu_ids: 1 index_chunk_size: 50000 index_path: index/index.index is_multimodal: false is_multimodal: true model_name_or_path: openbmb/MiniCPM-Embedding-Light model_name_or_path: jinaai/jina-embeddings-v4 overwrite: false
ultrarag run examples/corpus_index.yaml
{"id": 0, "question": "尼康Z7的电子减震功能在哪些场景不可用?", "golden_answers": [], "meta_data": {}}
# MCP Server servers: benchmark: servers/benchmark retriever: servers/retriever prompt: servers/prompt generation: servers/generation evaluation: servers/evaluation custom: servers/custom # MCP Client Pipeline pipeline: - benchmark.get_data - retriever.retriever_init - retriever.retriever_search - generation.generation_init - prompt.qa_boxed - generation.multimodal_generate: input: multimodal_path: ret_psg
ultrarag build examples/visrag.yaml
benchmark: benchmark: key_map: gt_ls: golden_answers q_ls: question limit: -1 name: nq path: data/sample_nq_10.jsonl name: test path: data/test.jsonl seed: 42 shuffle: false generation: backend: vllm backend_configs: hf: batch_size: 8 gpu_ids: 2,3 model_name_or_path: openbmb/MiniCPM4-8B trust_remote_code: true openai: api_key: '' base_delay: 1.0 base_url: http://localhost:8000/v1 concurrency: 8 model_name: MiniCPM4-8B retries: 3 vllm: dtype: auto gpu_ids: 2,3 gpu_memory_utilization: 0.9 model_name_or_path: openbmb/MiniCPM4-8B model_name_or_path: openbmb/MiniCPM-V-4 trust_remote_code: true sampling_params: chat_template_kwargs: enable_thinking: false max_tokens: 2048 temperature: 0.7 top_p: 0.8 system_prompt: '' prompt: template: prompt/qa_boxed.jinja template: prompt/visrag.jinja retriever: backend: sentence_transformers backend_configs: bm25: lang: en infinity: bettertransformer: false device: cuda model_warmup: false pooling_method: auto trust_remote_code: true openai: api_key: '' base_url: https://api.openai.com/v1 model_name: text-embedding-3-small sentence_transformers: device: cuda sentence_transformers_encode: encode_chunk_size: 10000 normalize_embeddings: false psg_prompt_name: document psg_task: null q_prompt_name: query q_task: null psg_prompt_name: null psg_task: retrieval q_prompt_name: query q_task: retrieval trust_remote_code: true batch_size: 16 corpus_path: data/corpus_example.jsonl corpus_path: corpora/image.jsonl faiss_use_gpu: true gpu_ids: 0,1 gpu_ids: 1 index_path: index/index.index is_multimodal: false model_name_or_path: openbmb/MiniCPM-Embedding-Light is_multimodal: true model_name_or_path: jinaai/jina-embeddings-v4 query_instruction: '' top_k: 5
ultrarag run examples/visrag.yaml
python ./script/case_study.py \ --data output/memory_test_visrag_20251015_163425.json \ --host 127.0.0.1 \ --port 8070 \ --title "Case Study Viewer"
尼康Z7的电子减震功能在以下场景不可用: 1. 画面尺寸为1920×1080时。 2. 120p、1920×1080、100p或1920×1080(慢动作)时。 这些信息可以从图像中的文字部分找到,具体位于描述尼康Z7电子减震功能的段落中。
此页面对您有帮助吗?