mirror of
				https://github.com/Wan-Video/Wan2.1.git
				synced 2025-11-03 22:04:21 +00:00 
			
		
		
		
	When frame_num is changed from 81 the tensor does not match
This commit is contained in:
		
							parent
							
								
									7c81b2f27d
								
							
						
					
					
						commit
						dd38e262d2
					
				@ -207,7 +207,7 @@ class WanI2V:
 | 
			
		||||
            generator=seed_g,
 | 
			
		||||
            device=self.device)
 | 
			
		||||
 | 
			
		||||
        msk = torch.ones(1, 81, lat_h, lat_w, device=self.device)
 | 
			
		||||
        msk = torch.ones(1, F, lat_h, lat_w, device=self.device)
 | 
			
		||||
        msk[:, 1:] = 0
 | 
			
		||||
        msk = torch.concat([
 | 
			
		||||
            torch.repeat_interleave(msk[:, 0:1], repeats=4, dim=1), msk[:, 1:]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user