Causal image embedding helps you work with image data and treatment data in one place. It lets you build image-based embeddings and estimate average treatment effects, or ATE, from your data.
Use it when you need to compare groups, study outcomes, and include images as part of your analysis.
Use this link to visit the download page:
- Open the link above in your web browser.
- On the GitHub page, click the green Code button.
- Choose Download ZIP.
- Save the file to your computer.
- Open the ZIP file.
- Extract it to a folder you can find again, such as Downloads or Desktop.
- Open the folder and look for the app files.
- If the app includes a Windows launcher file, double-click it to run the app.
- If you see a Python project instead of an app file, follow the run steps below.
For best results, use:
- Windows 10 or Windows 11
- At least 8 GB of RAM
- 2 GB of free disk space
- A stable internet connection for the first setup
- Python 3.12 or newer
If the download includes source files instead of a ready-made app, use these steps:
- Install Python 3.12 or newer from the official Python website.
- During setup, check the box that says Add Python to PATH.
- Open the folder you extracted.
- Click the address bar in File Explorer.
- Type
cmdand press Enter. - In the black window, run this command:
python --version- If Python shows a version number, continue.
- If the project includes a
requirements.txtfile, install the needed packages with:
pip install -r requirements.txt- If the project includes a main file, start it with one of these common commands:
python main.pypython app.pypython -m streamlit run app.py- Wait for the app window or browser tab to open.
You may see files like these after download:
README.md- setup and usage notesrequirements.txt- Python package listmain.py- main program fileapp.py- app start filedata/- sample data filesmodels/- saved model filesnotebooks/- analysis examples
A typical workflow looks like this:
- Start the app.
- Load your image data.
- Add the treatment and outcome fields.
- Choose the embedding method.
- Run the analysis.
- View the estimated treatment effect.
- Export your results if needed.
- Image embedding for analysis tasks
- ATE estimation with image covariates
- Support for treatment and outcome data
- Clear output for model results
- Simple workflow for non-technical users
- Research-friendly file layout
- Python-based setup
This app can help with tasks such as:
- Studying how image features relate to outcomes
- Comparing treated and untreated groups
- Running causal analysis with visual data
- Testing image-based signals in research data
- Reviewing how image covariates affect results
Try these checks:
- Make sure the files fully extracted from the ZIP.
- Check that Python is installed.
- Reopen Command Prompt in the project folder.
- Run
python --versionagain. - Confirm that required packages are installed.
- Check the folder for the correct start file.
- Try another start command from the run section above.
If you plan to change the project later, these files are usually the most useful:
README.mdfor setup detailsrequirements.txtfor package changesmain.pyorapp.pyfor app behavior- config files for input paths and options
This project uses the MIT License.