Skip to content

Add comprehensive GitHub Copilot instructions for AI-UltraVision SRCNN project#5

Draft
Copilot wants to merge 3 commits intomasterfrom
copilot/fix-4
Draft

Add comprehensive GitHub Copilot instructions for AI-UltraVision SRCNN project#5
Copilot wants to merge 3 commits intomasterfrom
copilot/fix-4

Conversation

Copy link
Copy Markdown

Copilot AI commented Aug 22, 2025

This PR adds a comprehensive .github/copilot-instructions.md file that provides GitHub Copilot with detailed instructions for working with the AI-UltraVision SRCNN image super-resolution project.

What's Added

The instructions file includes:

  • Validated Environment Setup: Step-by-step commands for installing all dependencies with measured timing expectations
  • Project Structure Documentation: Complete overview of the repository layout and key files
  • Working Commands: All setup and runtime commands have been tested and verified to work
  • Timing Expectations: Realistic time estimates for each operation (e.g., TensorFlow installation ~40 seconds)
  • Validation Scripts: Quick test commands to verify the environment is working correctly
  • Known Issues & Solutions: Documentation of NumPy compatibility issues and workarounds
  • Alternative Workflows: Fallback approaches when TensorFlow has compatibility issues

Key Features

Comprehensive Validation: Every command in the instructions has been tested and timed:

  • System package installation: ~30 seconds
  • TensorFlow/Keras installation: ~40 seconds
  • Jupyter notebook startup: <1 second
  • Core image processing workflow: ~1 second

Dependency Management: Addresses critical compatibility issues:

  • Uses system NumPy (1.26.4) to avoid binary incompatibility
  • Documents network timeout workarounds for pip installations
  • Provides alternative installation paths for problematic packages

Immediate Verification: Includes ready-to-use validation commands:

python3 -c "import cv2, numpy as np, matplotlib.pyplot as plt; from skimage.metrics import structural_similarity; print('✓ All core dependencies working')"

The instructions follow the required format with imperative tone ("Run this command", "Never cancel") and include explicit "NEVER CANCEL" warnings with appropriate timeout values for long-running operations.

Fixes #4.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits August 22, 2025 20:06
Co-authored-by: xoraus <24396613+xoraus@users.noreply.github.com>
…with verified commands and timings

Co-authored-by: xoraus <24396613+xoraus@users.noreply.github.com>
Copilot AI changed the title [WIP] ✨ Set up Copilot instructions Add comprehensive GitHub Copilot instructions for AI-UltraVision SRCNN project Aug 22, 2025
Copilot AI requested a review from xoraus August 22, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Set up Copilot instructions

2 participants