Documentation Index
Fetch the complete documentation index at: https://imcui.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Troubleshooting
This section provides solutions to common issues you may encounter when using Image Matching WebUI.Common Problems
Installation Issues
Package Not Found Error
If you get a “Package not found” error when installing from PyPI:Missing Dependencies Error
If you encounter missing dependencies:Runtime Issues
CUDA Out of Memory
If you encounter CUDA out of memory errors:- Use CPU mode: Set environment variable to force CPU mode
- Reduce image size: Lower the
max_keypointsparameter - Close other GPU applications: Ensure no other processes are using GPU memory
- Use batch processing: Process images one at a time
Dataset Download Issues
Download Fails or Hangs
If the automatic dataset download fails:- Manual download: Download datasets from HuggingFace manually
- Set custom path: Specify a local directory with existing data
- Check internet connection: Ensure you have stable internet connection
Import Errors
Module Import Error
If you encounter import errors:-
Verify installation: Ensure the package is installed correctly
-
Reinstall: If showing issues, reinstall the package
-
Check Python version: Ensure you’re using Python 3.10+
-
Verify dependencies: Check if all dependencies are installed
Vismatch Import Error
If you get an error related tovismatch:
Algorithm-Specific Issues
Model Loading Errors
GPU Memory Insufficient for Large Models
Some large models may not fit in your GPU memory:- Use smaller models (e.g.,
superpoint-lightglueinstead of larger ones) - Reduce image resolution
- Use CPU mode if necessary
Model Download Fails
If model download fails:- Check your internet connection
- Check available disk space
- Try manual download from the model repository
- Clear HuggingFace cache and retry
Performance Issues
Slow Processing Speed
If matching is slower than expected:-
Enable GPU: Ensure GPU is available and not blocked
- Reduce image resolution: Smaller images process faster
-
Adjust detection parameters: Increase threshold to reduce keypoints
-
Disable RANSAC: If results are acceptable without filtering
High Memory Usage
If the application uses excessive memory:-
Reduce max_keypoints: Limit the number of detected keypoints
- Clear model cache: Restart the application to free cached models
- Use CPU mode: If memory is an issue, CPU mode may be more predictable
Configuration Issues
Configuration Not Applied
If your configuration file changes are not taking effect:- Check file location: Ensure the configuration file is in a valid location
- Verify syntax: Check YAML syntax is correct
-
Use absolute path: Specify the configuration file path explicitly
- Check precedence: Remember that CLI flags override configuration files
Web Interface Issues
Gradio Interface Not Loading
If the web interface doesn’t load:-
Check port: Ensure port 7860 is not already in use
-
Check network: Ensure the specified host is accessible
-
Check logs: Look at the console output for error messages
API Issues
Server Start Fails
If the API server fails to start:-
Check dependencies: Ensure FastAPI and Uvicorn are installed
- Check port: Ensure the API port is not already in use
- Verify configuration: Check your API configuration file
Getting Help
If you cannot resolve your issue:- Check existing issues: Look at the GitHub issue tracker
-
Create a new issue: Include the following information:
- Your operating system
- Python version
- Error message (full stack trace if available)
- Steps to reproduce the issue
- Configuration file (if relevant)
- Consult the vismatch repository: Many algorithm-specific issues are covered in the vismatch documentation
- Check the community: Look for similar discussions in related repositories and forums