neverix commited on
Commit
e000f79
1 Parent(s): a80716a

Even better presets

Browse files
Files changed (3) hide show
  1. .gitignore +5 -1
  2. app.py +1 -1
  3. pulsar_clip.py +2 -2
.gitignore CHANGED
@@ -1,3 +1,7 @@
1
  .idea/
2
  **/__pycache__/
3
- flagged/
 
 
 
 
 
1
  .idea/
2
  **/__pycache__/
3
+ flagged/
4
+ **/*.obj
5
+ **/*.csv
6
+ **/*.mp4
7
+ gradio_cached_examples/
app.py CHANGED
@@ -33,7 +33,7 @@ def generate(*args):
33
  def main():
34
  with gr.Blocks() as ui:
35
  gr.Markdown("# Pulsar+CLIP")
36
- gr.Markdown("<a target="_blank" href="https://colab.research.google.com/github/https://colab.research.google.com/drive/1IvV3HGoNjRoyAKIX-aqSWa-t70PW3nPs"> <img src='https://colab.research.google.com/assets/colab-badge.svg' alt='Open In Colab'/></a>"
37
  gr.Markdown("Generate 3D point clouds from text!")
38
 
39
  with gr.Group():
 
33
  def main():
34
  with gr.Blocks() as ui:
35
  gr.Markdown("# Pulsar+CLIP")
36
+ gr.Markdown("<a target='_blank' href='https://colab.research.google.com/github/https://colab.research.google.com/drive/1IvV3HGoNjRoyAKIX-aqSWa-t70PW3nPs'> <img src='https://colab.research.google.com/assets/colab-badge.svg' alt='Open In Colab'/> </a>")
37
  gr.Markdown("Generate 3D point clouds from text!")
38
 
39
  with gr.Group():
pulsar_clip.py CHANGED
@@ -28,7 +28,7 @@ CONFIG_SPEC = [
28
  ("offset_random", 0.75, float),
29
  ("xyz_random", 0.25, float),
30
  ("altitude_range", 0.3, float),
31
- ("augments", 3, int),
32
  ]),
33
  ("Optimization", [
34
  ("epochs", 6, int),
@@ -50,7 +50,7 @@ CONFIG_SPEC = [
50
  ("log_opacity", False, bool), #@param {type: "boolean"}
51
 
52
  ("min_radius", 0.030, float),
53
- ("max_radius", 0.150, float),
54
  ("log_radius", False, bool),
55
 
56
  # TODO dynamically decide bezier_res
 
28
  ("offset_random", 0.75, float),
29
  ("xyz_random", 0.25, float),
30
  ("altitude_range", 0.3, float),
31
+ ("augments", 4, int),
32
  ]),
33
  ("Optimization", [
34
  ("epochs", 6, int),
 
50
  ("log_opacity", False, bool), #@param {type: "boolean"}
51
 
52
  ("min_radius", 0.030, float),
53
+ ("max_radius", 0.170, float),
54
  ("log_radius", False, bool),
55
 
56
  # TODO dynamically decide bezier_res