Closed m-mandel closed 1 year ago
https://github.com/MichalGeyer/plug-and-play/blob/2598b6536cd8bd338ee04b7b4ef5155bec628195/run_self_attn_pca.py#L19
Should be blockidx = int(block.split('')[-1])
To allow for parsing of multiple digits (e.g. output_block_11)
Fixed the block parsing, thanks!
https://github.com/MichalGeyer/plug-and-play/blob/2598b6536cd8bd338ee04b7b4ef5155bec628195/run_self_attn_pca.py#L19
Should be blockidx = int(block.split('')[-1])
To allow for parsing of multiple digits (e.g. output_block_11)