yoshitomo-matsubara / sc2-benchmark Goto Github PK
View Code? Open in Web Editor NEW[TMLR] "SC2 Benchmark: Supervised Compression for Split Computing"
Home Page: https://yoshitomo-matsubara.net/sc2-benchmark/
License: MIT License
[TMLR] "SC2 Benchmark: Supervised Compression for Split Computing"
Home Page: https://yoshitomo-matsubara.net/sc2-benchmark/
License: MIT License
I'm trying to run a test following Supervised Compression. I've downloaded the dataset for Semantic Segmentation (for PASCAL VOC2012). I've set up the environment in conda
using environment.yaml
. I've placed the resource
in sc2-benchmark-main
.
The command I've tried running is:
python script/task/semantic_segmentation.py -test_only -student_only --config configs/pascal_voc2012/supervised_compression/entropic_student/deeplabv3_splittable_resnet50-fp-beta1.28_from_deeplabv3_resnet50.yaml
The output is:
Traceback (most recent call last):
File "script/task/semantic_segmentation.py", line 23, in <module>
from sc2bench.analysis import check_if_analyzable
File "/home/gleip/anaconda3/envs/sc2-benchmark/lib/python3.8/site-packages/sc2bench/__init__.py", line 1, in <module>
from . import models, transforms, loss
File "/home/gleip/anaconda3/envs/sc2-benchmark/lib/python3.8/site-packages/sc2bench/models/__init__.py", line 1, in <module>
from . import registry, detection, segmentation
File "/home/gleip/anaconda3/envs/sc2-benchmark/lib/python3.8/site-packages/sc2bench/models/segmentation/__init__.py", line 1, in <module>
from . import deeplabv3
File "/home/gleip/anaconda3/envs/sc2-benchmark/lib/python3.8/site-packages/sc2bench/models/segmentation/deeplabv3.py", line 4, in <module>
from torchvision.models.segmentation.deeplabv3 import model_urls, DeepLabHead
ImportError: cannot import name 'model_urls' from 'torchvision.models.segmentation.deeplabv3' (/home/gleip/anaconda3/envs/sc2-benchmark/lib/python3.8/site-packages/torchvision/models/segmentation/deeplabv3.py)
I've tried backtracking it to some extent, but didn't see anything that would help. I don't see any mention of "model_urls" in /home/gleip/anaconda3/envs/sc2-benchmark/lib/python3.8/site-packages/torchvision/models/segmentation/deeplabv3.py
.
I'm running Ubuntu 20.04.4 LTS x86_64 on a Legion 5 Pro laptop with NVidia RTX3060 and AMD Ryzen 7 5800H.
Background: I'm trying to use this library for the purpose of implementing split computing with a bottleneck injection on another kind of model, therefore I'm trying to test things out and see how the results of the paper have been achieved.
A response to this would be greatly appreciated, thanks in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.