MCPcopy Create free account

hub / github.com/brownvc/deep-synth / functions

Functions336 in github.com/brownvc/deep-synth

↓ 18 callersMethodsave
(self)
deep-synth/data/object.py:78
↓ 17 callersMethodload
(self, data_dir)
deep-synth/model_prior.py:78
↓ 15 callersMethodget_final_category
Final categories used in the generated dataset Minor tweaks from fine categories
deep-synth/data/object_data.py:30
↓ 12 callersFunctionLOG
(msg)
deep-synth/location_train.py:46
↓ 11 callersFunctionLOG
(msg)
deep-synth/continue_train.py:49
↓ 11 callersFunctionLOG
(msg)
deep-synth/rotation_train.py:44
↓ 10 callersMethodget
Return pairwise prior for given category_key
deep-synth/priors/arrangement.py:52
↓ 10 callersFunctionnparr2str_compact
(a)
deep-synth/math_utils/__init__.py:125
↓ 8 callersFunctionLOG
(msg)
deep-synth/categoryCounts_train.py:29
↓ 8 callersMethodadd_object
(self, o)
deep-synth/priors/observations.py:38
↓ 8 callersMethodget_composite
Create the actual multi-channel representation. Which is a N x img_size x img_size tensor. See the paper for more information
deep-synth/data/rendered.py:222
↓ 8 callersFunctionrun_filter
Parameters ---------- source, dest (String): location of source/dest relative (should be) to utils.get_data_root_dir() stats (bool):
deep-synth/scene_filter.py:67
↓ 8 callersMethodupdate
(self, o, xform=None, update_sim=False)
deep-synth/priors/observations.py:57
↓ 7 callersMethodget_node
(self, id_)
deep-synth/data/house.py:80
↓ 7 callersMethodstep
(self, houses)
deep-synth/data/dataset.py:293
↓ 7 callersFunctionstr2nparr
(sa)
deep-synth/math_utils/__init__.py:134
↓ 7 callersMethodtransform
(self, t)
deep-synth/data/object.py:89
↓ 6 callersMethodsave_json
Save the json file, see save_top_down_view
deep-synth/scene_synth.py:652
↓ 6 callersMethodsave_top_down_view
Save the top down view of the current room Parameters ---------- save_dir (String): location to be saved fin
deep-synth/scene_synth.py:573
↓ 5 callersMethod_get_collisions
(self, additional_nodes=None)
deep-synth/scene_synth.py:715
↓ 5 callersMethodadd_height_map
Add a new object to the composite. Height map, category, and angle of rotation are all the information required.
deep-synth/data/rendered.py:153
↓ 5 callersMethodcreate_composite
Create a initial composite that only contains the floor, wall, doors and windows. See RenderedComposite for how to add more o
deep-synth/data/rendered.py:90
↓ 5 callersMethodget_alignment_matrix
Since some models in the dataset are not aligned in the way we want Generate matrix that realign them
deep-synth/data/object_data.py:104
↓ 5 callersMethodget_render
Get the top-down render of the object
deep-synth/scene_synth.py:763
↓ 5 callersMethodload
(self)
deep-synth/priors/observations.py:369
↓ 5 callersFunctionresnet101
(**kwargs)
deep-synth/models/resnet.py:121
↓ 5 callersMethodto_2d
Parameters ---------- t(Matrix or None): transformation matrix of the object if None, then returns room projectio
deep-synth/data/projection.py:65
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
deep-synth/models/resnet.py:86
↓ 4 callersMethodadd_node
Add a new object into the current room
deep-synth/scene_synth.py:289
↓ 4 callersMethodadd_room
(self, node, wall=True, floor=True, ceiling=False)
deep-synth/math_utils/Simulator.py:192
↓ 4 callersMethodas_mat4
(self)
deep-synth/math_utils/__init__.py:73
↓ 4 callersMethodcategory
(self, model_id, scheme)
deep-synth/priors/observations.py:172
↓ 4 callersMethodfrom_node
(cls, node, aligned_dims)
deep-synth/math_utils/OBB.py:35
↓ 4 callersMethodlearn
(self, data_folder, data_root_dir=None)
deep-synth/model_prior.py:18
↓ 4 callersFunctionpkl_name
(index)
deep-synth/data/dataset.py:35
↓ 4 callersFunctionrelative_dir_to_xz_angle
(d)
deep-synth/math_utils/__init__.py:121
↓ 4 callersFunctionrelative_pos_to_xz_distance_angle
(p)
deep-synth/math_utils/__init__.py:115
↓ 4 callersMethodreset
(self)
deep-synth/priors/observations.py:128
↓ 4 callersMethodtransform_point
(self, p)
deep-synth/math_utils/OBB.py:75
↓ 3 callersMethod_get_category_name
(self, index)
deep-synth/scene_synth.py:344
↓ 3 callersMethod_get_existing_categories
(self)
deep-synth/scene_synth.py:337
↓ 3 callersMethod_sample_exact_location
(self, gridx, gridy, category)
deep-synth/scene_synth.py:448
↓ 3 callersMethod_sample_location_category_helper
(self, distribution, total)
deep-synth/scene_synth.py:363
↓ 3 callersMethodadd_box
(self, obj_id, half_extents, transform, static=False)
deep-synth/math_utils/Simulator.py:150
↓ 3 callersMethodfrom_mat4
Construct Transform from matrix m :param m: 4x4 affine transformation matrix :return: rotation (quaternion), translation, sca
deep-synth/math_utils/__init__.py:38
↓ 3 callersMethodget_collisions
(self, include_collision_with_static=True, obj_id_a=None)
deep-synth/priors/observations.py:155
↓ 3 callersMethodget_contacts
Return all current contacts. When include_collision_with_statics is true, include contacts with static bodies
deep-synth/math_utils/Simulator.py:304
↓ 3 callersMethodget_filter
()
deep-synth/filters/global_category_filter.py:7
↓ 3 callersMethodget_projection
Generates projection matrices specific to a room, need to be room-specific since every room is located in a different position,
deep-synth/data/projection.py:21
↓ 3 callersMethodget_transformation
Get the transformation matrix Used to render the object and to save in json files
deep-synth/scene_synth.py:773
↓ 3 callersMethodlog_prob_closest
(self, x)
deep-synth/priors/pairwise.py:110
↓ 3 callersMethodremove
(self, obj_id)
deep-synth/math_utils/Simulator.py:264
↓ 3 callersMethodrender_object
Render a cropped top-down view of object Parameters ---------- o (list[triple]): object to be rendered, repr
deep-synth/data/top_down.py:131
↓ 3 callersMethodset_state
(self, obj_id, position, rotation_q)
deep-synth/math_utils/Simulator.py:270
↓ 3 callersMethodto_aabb
(self)
deep-synth/math_utils/OBB.py:132
↓ 2 callersMethod_convert_contacts
(self, contacts)
deep-synth/math_utils/Simulator.py:341
↓ 2 callersFunction_redirect_stdout
(to)
deep-synth/utils.py:72
↓ 2 callersMethod_sample_model_rotation
(self, x, y, category, trials=10, num_orientations=16)
deep-synth/scene_synth.py:505
↓ 2 callersMethodadd_and_get_composite
Sometimes we need to create a composite to test if some objects should be added, without actually fixing the object to the sc
deep-synth/data/rendered.py:190
↓ 2 callersMethodadd_house
(self, house, no_walls=False, no_ceil=False, no_floor=False, use_separate_walls=False, static=False)
deep-synth/math_utils/Simulator.py:211
↓ 2 callersMethodadd_mesh
(self, obj_id, obj_file, transform, vis_mesh_file=None, static=False)
deep-synth/math_utils/Simulator.py:126
↓ 2 callersMethodadd_object
(self, node, create_vis_mesh=False, static=False)
deep-synth/math_utils/Simulator.py:165
↓ 2 callersMethodadd_wall
(self, node)
deep-synth/math_utils/Simulator.py:177
↓ 2 callersMethodas_house
(self)
deep-synth/priors/observations.py:103
↓ 2 callersMethodas_mat4_flat_row_major
(self)
deep-synth/math_utils/__init__.py:81
↓ 2 callersMethodconnect
(self)
deep-synth/math_utils/Simulator.py:47
↓ 2 callersFunctioncreate_dataset
Create a pickled version of the dataset from the json files Parameters ---------- dest (string, optional): directory to save to
deep-synth/data/dataset.py:17
↓ 2 callersMethodfrom_local2world_transform
(cls, transform)
deep-synth/math_utils/OBB.py:30
↓ 2 callersMethodfrom_mat4x4_flat_row_major
(cls, mat)
deep-synth/math_utils/__init__.py:56
↓ 2 callersMethodfromstring
(cls, s)
deep-synth/priors/observations.py:230
↓ 2 callersMethodget_aligned_dims
Return canonical alignment dimensions of model *in meters*
deep-synth/data/object_data.py:66
↓ 2 callersMethodget_closest_point
Return record with distance between closest points between pair of nodes if within max_distance or None.
deep-synth/math_utils/Simulator.py:290
↓ 2 callersMethodget_coarse_category
(self, model_id)
deep-synth/data/object_data.py:26
↓ 2 callersMethodget_fine_category
(self, model_id)
deep-synth/data/object_data.py:22
↓ 2 callersMethodget_front
(self, model_id)
deep-synth/data/object_data.py:61
↓ 2 callersMethodget_json
Get the json of the current room, plus additional_nodes Parameters ---------- additional_nodes (list[SynthNode]): ob
deep-synth/scene_synth.py:664
↓ 2 callersMethodget_nodes
Get a set of nodes from the room which satisfies a certain criteria Parameters ---------- filters (list[node_filter]
deep-synth/data/house.py:158
↓ 2 callersMethodget_observation_key
(self, observation)
deep-synth/priors/observations.py:162
↓ 2 callersMethodget_relative_observations
(self, room_id, filter_ref_obj, ignore_categories)
deep-synth/priors/observations.py:141
↓ 2 callersMethodget_scene
(self, index)
deep-synth/categoryCounts_dataset.py:28
↓ 2 callersMethodget_triangles
(self)
deep-synth/data/object.py:92
↓ 2 callersMethodinit_from_house
(self, house, update_sim=True)
deep-synth/priors/observations.py:96
↓ 2 callersMethodinit_from_room
(self, house, room_id, only_architecture=False, update_sim=True)
deep-synth/priors/observations.py:86
↓ 2 callersMethodlog_prob
(self, x)
deep-synth/models/nade.py:123
↓ 2 callersMethodparameterize
(self, scheme)
deep-synth/priors/observations.py:235
↓ 2 callersFunctionparse_objects
parse .obj objects and save them to pickle files
deep-synth/data/object.py:116
↓ 2 callersMethodpkl_name
(self, index)
deep-synth/data/dataset.py:290
↓ 2 callersFunctionplot_gmm_fit
(x, y_, means, covariances, index, title)
deep-synth/math_utils/__init__.py:138
↓ 2 callersMethodrender_object_full_size
Render a full-sized top-down view of the object, see render_object
deep-synth/data/top_down.py:176
↓ 2 callersMethodreset
(self)
deep-synth/math_utils/Simulator.py:285
↓ 2 callersMethodsample
(self, n_samples)
deep-synth/priors/pairwise.py:122
↓ 2 callersMethodsample_n
(self, n)
deep-synth/models/nade.py:57
↓ 2 callersMethodset_gui_rendering
(self, enabled)
deep-synth/math_utils/Simulator.py:107
↓ 2 callersMethodset_rotation
(self, radians, axis=np.asarray((0, 1, 0)))
deep-synth/math_utils/__init__.py:97
↓ 2 callersMethodset_temperature
(self, temp)
deep-synth/models/nade.py:23
↓ 2 callersMethodset_translation
(self, t)
deep-synth/math_utils/__init__.py:87
↓ 2 callersFunctionstdout_redirected
From https://stackoverflow.com/questions/5081657/how-do-i-prevent-a-c-shared-library-to-print-on-stdout-in-python Suppress C warnings
deep-synth/utils.py:62
↓ 2 callersMethodtransform_direction
(self, d)
deep-synth/math_utils/OBB.py:78
↓ 2 callersMethodtrim
(self)
deep-synth/priors/pairwise.py:131
↓ 1 callersMethod__init__
(self, counts_epoch, train_size, *args, **kwargs)
deep-synth/scene_synth_occurence_baseline.py:22
next →1–100 of 336, ranked by callers