File size: 403 Bytes
e2c3d21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

# Check if the user provided an argument
if [ "$#" -ne 2 ]; then
    echo "Usage: $0 <output_folder> <config_file> "
    exit 1
fi


output_folder="$1"
config_file="$2"

if [ ! -d "$output_folder" ]; then
    echo "Error: Folder '$output_folder' does not exist."
    exit 2
fi



# Remove the selected object
python edit_object_inpaint.py  -m ${output_folder} --config_file ${config_file}