Richard Neuschulz commited on
Commit
c55e4ce
1 Parent(s): b2df523

another reference

Browse files
Files changed (1) hide show
  1. ipown.py +3 -3
ipown.py CHANGED
@@ -13,14 +13,14 @@ from utils import is_torch2_available
13
 
14
  USE_DAFAULT_ATTN = False # should be True for visualization_attnmap
15
  if is_torch2_available() and (not USE_DAFAULT_ATTN):
16
- from .attention_processor_faceid import (
17
  LoRAAttnProcessor2_0 as LoRAAttnProcessor,
18
  )
19
- from .attention_processor_faceid import (
20
  LoRAIPAttnProcessor2_0 as LoRAIPAttnProcessor,
21
  )
22
  else:
23
- from .attention_processor_faceid import LoRAAttnProcessor, LoRAIPAttnProcessor
24
  from resampler import PerceiverAttention, FeedForward
25
 
26
 
 
13
 
14
  USE_DAFAULT_ATTN = False # should be True for visualization_attnmap
15
  if is_torch2_available() and (not USE_DAFAULT_ATTN):
16
+ from attention_processor_faceid import (
17
  LoRAAttnProcessor2_0 as LoRAAttnProcessor,
18
  )
19
+ from attention_processor_faceid import (
20
  LoRAIPAttnProcessor2_0 as LoRAIPAttnProcessor,
21
  )
22
  else:
23
+ from attention_processor_faceid import LoRAAttnProcessor, LoRAIPAttnProcessor
24
  from resampler import PerceiverAttention, FeedForward
25
 
26