Commit 1d82b55579dff46957d38bc74a6d898fc0475d8a

Authored by tangwang
1 parent 40442baf

offline tasks: fix bugs of i2i swing / hot / sessionw2v

Showing 1 changed file with 13 additions and 13 deletions   Show diff stats
offline_tasks/run_all.py
... ... @@ -158,19 +158,19 @@ def main():
158 158 success_count += 1
159 159  
160 160 # 4. Content-based similarity
161   - if not args.only_swing and not args.only_w2v and not args.only_deepwalk and not args.only_interest:
162   - logger.info("\n" + "="*80)
163   - logger.info("Task 4: Running Content-based similarity")
164   - logger.info("="*80)
165   - total_count += 1
166   - script_args = [
167   - '--top_n', str(args.top_n),
168   - '--method', 'hybrid'
169   - ]
170   - if args.debug:
171   - script_args.append('--debug')
172   - if run_script('i2i_content_similar.py', script_args):
173   - success_count += 1
  161 +# if not args.only_swing and not args.only_w2v and not args.only_deepwalk and not args.only_interest:
  162 +# logger.info("\n" + "="*80)
  163 +# logger.info("Task 4: Running Content-based similarity")
  164 +# logger.info("="*80)
  165 +# total_count += 1
  166 +# script_args = [
  167 +# '--top_n', str(args.top_n),
  168 +# '--method', 'hybrid'
  169 +# ]
  170 +# if args.debug:
  171 +# script_args.append('--debug')
  172 +# if run_script('i2i_content_similar.py', script_args):
  173 +# success_count += 1
174 174  
175 175 # 兴趣点聚合任务
176 176 if not args.skip_interest:
... ...