NIRVANALAN commited on
Commit
f944436
1 Parent(s): 2ce902e
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -166,25 +166,25 @@ def main(args):
166
  # TODO, how to set the scale?
167
  logger.log("create dataset")
168
 
169
- if args.objv_dataset:
170
- from datasets.g_buffer_objaverse import load_data, load_eval_data, load_memory_data, load_wds_data
171
- else: # shapenet
172
- from datasets.shapenet import load_data, load_eval_data, load_memory_data
173
 
174
  # load data if i23d
175
- if args.i23d:
176
- data = load_eval_data(
177
- file_path=args.eval_data_dir,
178
- batch_size=args.eval_batch_size,
179
- reso=args.image_size,
180
- reso_encoder=args.image_size_encoder, # 224 -> 128
181
- num_workers=args.num_workers,
182
- load_depth=True, # for evaluation
183
- preprocess=auto_encoder.preprocess,
184
- **args_to_dict(args,
185
- dataset_defaults().keys()))
186
- else:
187
- data = None # t23d sampling, only caption required
188
 
189
 
190
  TrainLoop = {
 
166
  # TODO, how to set the scale?
167
  logger.log("create dataset")
168
 
169
+ # if args.objv_dataset:
170
+ # from datasets.g_buffer_objaverse import load_data, load_eval_data, load_memory_data, load_wds_data
171
+ # else: # shapenet
172
+ # from datasets.shapenet import load_data, load_eval_data, load_memory_data
173
 
174
  # load data if i23d
175
+ # if args.i23d:
176
+ # data = load_eval_data(
177
+ # file_path=args.eval_data_dir,
178
+ # batch_size=args.eval_batch_size,
179
+ # reso=args.image_size,
180
+ # reso_encoder=args.image_size_encoder, # 224 -> 128
181
+ # num_workers=args.num_workers,
182
+ # load_depth=True, # for evaluation
183
+ # preprocess=auto_encoder.preprocess,
184
+ # **args_to_dict(args,
185
+ # dataset_defaults().keys()))
186
+ # else:
187
+ data = None # t23d sampling, only caption required
188
 
189
 
190
  TrainLoop = {