$ErrorActionPreference = 'Stop' $ProjectRoot = Split-Path -Parent $PSScriptRoot $RequiredPaths = @( 'README.md', 'docs\01_tasks\00_MASTER_ASSIGNMENT.md', 'docs\02_references\01_required\PROTOCOL_text_encoder_benchmark_StripNet_GTA_UAV.md', 'vendor_reference\caption_test\src\models\stripnet_encoder.py', 'vendor_reference\depth_edges_annotate_worlduav\scripts\run_gta_uav.py', 'src\fuse_proj\models\fusion\base.py', 'experiments\experiment_registry.csv' ) $Missing = @() foreach ($RelativePath in $RequiredPaths) { $FullPath = Join-Path $ProjectRoot $RelativePath if (-not (Test-Path -LiteralPath $FullPath)) { $Missing += $FullPath } } $ExternalPaths = @( 'C:\Users\Lisadminipc\Documents\code\caption-test', 'C:\Users\Lisadminipc\Documents\code\depth_edges_annotate_worlduav' ) foreach ($ExternalPath in $ExternalPaths) { if (-not (Test-Path -LiteralPath $ExternalPath)) { $Missing += $ExternalPath } } if ($Missing.Count -gt 0) { Write-Error ("Missing required paths:`n" + ($Missing -join "`n")) } Write-Output 'Project layout and external source projects are available.'