mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
7cf68ec3c6
commit
919c5c1977
Binary file not shown.
@ -142,12 +142,12 @@ class LoRAHook():
|
|||||||
#print(input[0].size(), output.size())
|
#print(input[0].size(), output.size())
|
||||||
#print('-'*20)
|
#print('-'*20)
|
||||||
|
|
||||||
print(output)
|
logging.info(output)
|
||||||
print('-'*20)
|
logging.info('-'*20)
|
||||||
lora_out = self.lora(input[0])
|
lora_out = self.lora(input[0])
|
||||||
output += lora_out
|
output += lora_out
|
||||||
print(output)
|
logging.info(output)
|
||||||
print('*'*20)
|
logging.info('*'*20)
|
||||||
|
|
||||||
def save_checkpoint(self, i, iter_, save_dir):
|
def save_checkpoint(self, i, iter_, save_dir):
|
||||||
if isinstance(self.lora, DDP):
|
if isinstance(self.lora, DDP):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user