YixuanLi / convergent_learning

Code for paper "Convergent Learning: Do different neural networks learn the same representations?"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

from pycache import memoize_no_func_body ImportError

likesiwell opened this issue · comments

Hello, when I am running your notebook, I meet the following problem.
And I couldn't find proper pycache package from Internet,
So what is pycache you used and where could I find it?
Thanks

ImportError Traceback (most recent call last)
in ()
2 from plotting import *
3 from pylab import *
----> 4 from match_unit import *
5 #matplotlib inline
6 plt.rcParams['image.interpolation'] = 'nearest'

/home/hyli/caffepkg/convergent_learning/experiments/match_unit.py in ()
1 import numpy as np
----> 2 from pycache import memoize_no_func_body
3 from numpy import array as array
4 import networkx as nx
5

ImportError: cannot import name memoize_no_func_body

Hi there!

I've uploaded the pycache.py to the repo. You may find it here: https://github.com/YixuanLi/convergent_learning/blob/master/experiments/pycache.py.

Let me know if that will work.

Cheers,
Yixuan

Hello, I have tried some small data sets before, but I can't download the data folder as you said. Could you afford that?