Skip to content

Commit

Permalink
Update clip_sim.py with ssa opt
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliusHuizing authored Apr 15, 2024
1 parent e40f20c commit 2a4d2de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kiui/cli/clip_sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def encode_text(self, text):
parser.add_argument('--mode', default='albedo', type=str, choices=['lambertian', 'albedo', 'normal', 'depth', 'pbr'], help="rendering mode")
parser.add_argument('--W', type=int, default=800, help="GUI width")
parser.add_argument('--H', type=int, default=800, help="GUI height")
parser.add_argument('--ssaa', type=float, default=1, help="super-sampling anti-aliasing ratio")
parser.add_argument('--radius', type=float, default=3, help="default GUI camera radius from center")
parser.add_argument('--fovy', type=float, default=50, help="default GUI camera fovy")
parser.add_argument("--force_cuda_rast", action='store_true', help="force to use RasterizeCudaContext.")
Expand Down Expand Up @@ -96,4 +97,4 @@ def encode_text(self, text):
avg_similarity = np.mean(results)
print(avg_similarity)



0 comments on commit 2a4d2de

Please sign in to comment.