Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IN FILE:
- ___________
- import nori2 as nori
- nf = nori.Fetcher()
- nfname = {"train": "imagenet.train.nori.list", "val": "imagenet.val.nori.list",}[dataset_name]
- IN TERMINAL:
- ___________
- (base) root@dlserver3:/home/DSQ# pip install nori2
- ERROR: Could not find a version that satisfies the requirement nori2 (from versions: none)
- ERROR: No matching distribution found for nori2
- (base) root@dlserver3:/home/DSQ# pip install nori
- Collecting nori
- Downloading nori-1.0.tar.gz (79 kB)
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.8/79.8 kB 1.5 MB/s eta 0:00:00
- Preparing metadata (setup.py) ... done
- Building wheels for collected packages: nori
- Building wheel for nori (setup.py) ... done
- Created wheel for nori: filename=nori-1.0-py3-none-any.whl size=86664 sha256=aed7d4cd11701d06b8a694d3305c92a7dd3dd9fe184a6169ba9135f26f4bcc9f
- Stored in directory: /root/.cache/pip/wheels/4c/8b/76/c7363d4d81b1f0d68720f46c1ba3f45a8c4f48705ae9182f9f
- Successfully built nori
- Installing collected packages: nori
- Successfully installed nori-1.0
- (base) root@dlserver3:/home/DSQ# python train.py -a resnet18 -q DSQ --quan_bit 8 pics/
- Traceback (most recent call last):
- File "/home/DSQ/train.py", line 20, in <module>
- from dataset import Imagenet as Dataset
- File "/home/DSQ/dataset.py", line 5, in <module>
- import nori2 as nori
- ModuleNotFoundError: No module named 'nori2'
Advertisement
Add Comment
Please, Sign In to add comment