AnotherAli

DSQ missing nori2

Oct 11th, 2022
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. IN FILE:
  2. ___________
  3. import nori2 as nori
  4. nf = nori.Fetcher()
  5. nfname = {"train": "imagenet.train.nori.list", "val": "imagenet.val.nori.list",}[dataset_name]
  6.  
  7.  
  8.  
  9. IN TERMINAL:
  10. ___________
  11. (base) root@dlserver3:/home/DSQ# pip install nori2
  12. ERROR: Could not find a version that satisfies the requirement nori2 (from versions: none)
  13. ERROR: No matching distribution found for nori2
  14.  
  15. (base) root@dlserver3:/home/DSQ# pip install nori
  16. Collecting nori
  17. Downloading nori-1.0.tar.gz (79 kB)
  18. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.8/79.8 kB 1.5 MB/s eta 0:00:00
  19. Preparing metadata (setup.py) ... done
  20. Building wheels for collected packages: nori
  21. Building wheel for nori (setup.py) ... done
  22. Created wheel for nori: filename=nori-1.0-py3-none-any.whl size=86664 sha256=aed7d4cd11701d06b8a694d3305c92a7dd3dd9fe184a6169ba9135f26f4bcc9f
  23. Stored in directory: /root/.cache/pip/wheels/4c/8b/76/c7363d4d81b1f0d68720f46c1ba3f45a8c4f48705ae9182f9f
  24. Successfully built nori
  25. Installing collected packages: nori
  26. Successfully installed nori-1.0
  27.  
  28. (base) root@dlserver3:/home/DSQ# python train.py -a resnet18 -q DSQ --quan_bit 8 pics/
  29. Traceback (most recent call last):
  30. File "/home/DSQ/train.py", line 20, in <module>
  31. from dataset import Imagenet as Dataset
  32. File "/home/DSQ/dataset.py", line 5, in <module>
  33. import nori2 as nori
  34. ModuleNotFoundError: No module named 'nori2'
Advertisement
Add Comment
Please, Sign In to add comment