What seems to be wrong here? / Input and Output Path error #1091
Replies: 2 comments
-
Hey @DivineTenshi! I'm here to help you with bug fixes, questions, and contributions. Let's squash those bugs together! 🐞 The error message "Input path and Output path both must be either a file or a directory" indicates that there is a mismatch in how the input and output paths are being specified. Both paths need to be either files or directories, but not a mix of both. In your case, it seems like the input path is not correctly specified. The command shows Ensure that the input path is correctly defined as a file path. For example, if you are trying to upscale a specific image, the command should look something like this: -i C:\Users\ACER\Downloads\18\image.jpg -o C:\Users\ACER\Desktop\My Scans\Upscaled Images\image_upscayl_2x_upscayl-lite-4x.png Make sure the input path points to an actual image file and not just a directory. Adjust the command accordingly to resolve the error. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
Please file a bug report, which gives you a troubleshooting checklist. |
Beta Was this translation helpful? Give feedback.
-
🔄 Resetting image paths
💻 System Info: {"platform":"win","release":"10.0.19045","arch":"x64","model":"Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz","cpuCount":8,"gpu":{"active":true,"cudaComputeCapabilityMajor":0,"deviceId":22807,"driverVendor":"Intel","driverVersion":"22.20.16.4785","gpuPreference":2,"revision":7,"subSysId":303763493,"vendorId":32902}}
🎒 BACKEND REPORTED: 📁 Updating Folder Path: C:\Users\ACER\Downloads\18
🎒 BACKEND REPORTED: 📁 Selected Folder Path: C:\Users\ACER\Downloads\18
🖼 Selected Folder Path: C:\Users\ACER\Downloads\18
🎒 BACKEND REPORTED: 📁 Updating Folder Path: C:\Users\ACER\Desktop\My Scans\Upscaled Images
🗂 Setting Output Path: C:\Users\ACER\Desktop\My Scans\Upscaled Images
🎒 BACKEND REPORTED: 📁 Selected Folder Path: C:\Users\ACER\Desktop\My Scans\Upscaled Images
🔄 Resetting Upscaled Image Path
🏁 DOUBLE_UPSCAYL
🎒 BACKEND REPORTED: 📢 Upscayl Command: -i,.,-o,C:\Users\ACER\Desktop\My Scans\Upscaled Images._upscayl_2x_upscayl-lite-4x.png,-s,2,-m,C:\Program Files\Upscayl\resources\models,-n,upscayl-lite-4x,-f,png
🎒 BACKEND REPORTED: 🛑 Updating Stopped: false
🚧 DOUBLE_UPSCAYL_PROGRESS: 🚨 Error: Input path and Output path both must be either a file or a directory!
🚧 DOUBLE_UPSCAYL_PROGRESS: 🚨 Error: Input path and Output path both must be either a file or a directory!
🔄 Resetting image paths
Beta Was this translation helpful? Give feedback.
All reactions